2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

MediaWiki:Gadget-popups.js

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
添加代码后的本页地址如下:-{R|https://moegirl.icu/MediaWiki:Gadget-popups.js?_=1}-
萌娘百科界面管理员团队提醒您
大萌字-InterfaceAdmin.png
本页面由萌娘百科界面管理员团队在其 GitHub 库内进行维护,通过机器人自动生成可被 MediaWiki Gadget 扩展接受的版本并保存到此处。 如果您有任何意见或建议,建议您到技术实现版提出。
/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/Navigation_popups/MediaWiki:Gadget-popups.js|user=[[U:星海子]]|co-authors=|longId=e1e15bf6ac13a6c997a9a3208dab7f70fa6a77fb|shortId=e1e15bf6|summary=chore: eslint}}'; 

/* <pre> */

eval([
    "'use strict';var __extends=this&&this.__extends||function(){var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Class extends value '+String(t)+' is not a constructor or null');function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),__awaiter=this&&this.__awaiter||function(e,a,s,p){return new(s=s||Promise)(function(i,t){function n(e){try{r(p.next(e))}catch(e){t(e)}}function o(e){try{r(p.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?i(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}r((p=p.apply(e,a||[])).next())})},__generator=this&&this.__generator||function(n,o){var r,a,s,p={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},c={next:e(0),throw:e(1),return:e(2)};return'function'==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function e(i){return function(e){var t=[i,e];if(r)throw new TypeError('Generator is already executing.');for(;p=c&&t[c=0]?0:p;)try{if(r=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return p.label++,{value:t[1],done:!1};case 5:p.label++,a=t[1],t=[0];continue;case 7:t=p.ops.pop(),p.trys.pop();continue;default:if(!(s=0<(s=p.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){p=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))p.label=t[1];else if(6===t[0]&&p.label<s[1])p.label=s[1],s=t;else{if(!(s&&p.label<s[2])){s[2]&&p.ops.pop(),p.trys.pop();continue}p.label=s[2],p.ops.push(t)}}t=o.call(n,p)}catch(e){t=[6,e],a=0}finally{r=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},__read=this&&this.__read||function(e,t){var i='function'==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,o,r=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=r.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};$(function(){var w,v,A,M,S,k,j,O,W,c,F,B,t,z,q={article:wgULS('条目','條目'),category:wgULS('个分类','個分類'),categories:wgULS('个分类','個分類'),image:wgULS('个文件','個檔案'),images:wgULS('个文件','個檔案'),stub:wgULS('小作品','小作品'),'section stub':wgULS('小章节','小章節'),'Empty page':wgULS('空页面','空頁面'),kB:wgULS('千字节<sub>(以1000为一进)</sub>','千位元組<sub>(以1000為一進)</sub>'),bytes:wgULS('字节','位元組'),day:wgULS('天','天'),days:wgULS('天','天'),hour:wgULS('小时','小時'),hours:wgULS('小时','小時'),minute:wgULS('分','分'),minutes:wgULS('分','分'),second:wgULS('秒','秒'),seconds:wgULS('秒','秒'),week:wgULS('周','周'),weeks:wgULS('周','周'),month:wgULS('月','月'),months:wgULS('月','月'),year:wgULS('年','年'),years:wgULS('年','年'),search:wgULS('搜索','搜尋'),SearchHint:wgULS('搜索包含 %s 的页面','搜尋包含 %s 的頁面'),web:'Google',global:wgULS('全域','全域'),'more...':wgULS('更多……','更多……'),actions:wgULS('操作','動作'),popupsMenu:wgULS('Popups','Popups'),'disable previews':wgULS('禁用预览','禁用預覽'),togglePreviewsHint:wgULS('切换本页 Popups 的预览开关','切換本頁 Popups 的預覽開關'),'toggle previews':wgULS('切换预览开关','切換預覽開關'),reset:wgULS('复位','複位'),disable:wgULS('禁用 Popups','禁用 Popups'),disablePopupsHint:wgULS('在本页禁用 Popups,刷新页面以重新启用。','在本頁禁用 Popups,重新整理頁面以重新啟用。'),purgePopupsHint:wgULS('复位 Popups,清除所有缓存数据。','複位 Popups,清除所有快取資料。'),PopupsHint:wgULS('复位 Popups,清除所有缓存数据。','複位 Popups,清除所有快取資料。'),spacebar:wgULS('空格','空格'),view:wgULS('查看','檢視'),'view article':wgULS('查看条目','檢視條目'),viewHint:wgULS('前往 %s','前往 %s'),talk:wgULS('讨论','討論'),'talk page':wgULS('讨论页','討論頁'),'this&nbsp;revision':wgULS('此修订版本','此修訂版本'),'revision %s of %s':wgULS('页面 $2 的修订版本 $1','頁面 $2 的修訂版本 $1'),'Revision %s of %s':wgULS('页面 $2 的修订版本 $1','頁面 $2 的修訂版本 $1'),'the revision prior to revision %s of %s':wgULS('页面 $2 的修订版本 $1 之前的修订版本','頁面 $2 的修訂版本 $1 之前的修訂版本'),'Toggle image size':wgULS('点击切换图片大小','點擊切換圖片大小'),del:wgULS('删除','删除'),delete:wgULS('删除','删除'),deleteHint:wgULS('删除 %s','删除 %s'),undeleteShort:wgULS('恢复','恢復'),UndeleteHint:wgULS('恢复 %s','恢復 %s'),protect:wgULS('保护','保護'),protectHint:wgULS('保护 %s','保護 %s'),unprotectShort:wgULS('解除','解除'),unprotectHint:wgULS('解除对 %s 的保护','解除對 %s 的保護'),move:wgULS('移动','移動'),'move page':wgULS('移动页面','移動頁面'),MovepageHint:wgULS('修改 %s 的标题','修改 %s 的標題'),edit:wgULS('编辑','編輯'),'edit article':wgULS('编辑条目','編輯條目'),editHint:wgULS('修改 %s 的内容','修改 %s 的內容'),'edit talk':wgULS('编辑讨论页','編輯對話頁',null,null,'編輯討論頁'),new:wgULS('新','新'),'new topic':wgULS('新话题','新話題'),newSectionHint:wgULS('在 %s 增加新的讨论话题','在 %s 增加新的討論話題'),'null edit':wgULS('空编辑','空編輯'),nullEditHint:wgULS('进行一次对 %s 的空编辑','製造一次對 %s 的空編輯'),hist:wgULS('历史','歷史'),history:wgULS('历史','歷史'),historyHint:wgULS('%s 的修订历史','%s 的修訂歷史'),last:wgULS('之前','之前'),lastEdit:wgULS('最近更改','最近更改'),'show last edit':wgULS('最近一次更改','最新一次修訂'),'Show the last edit':wgULS('显示最近一次更改的差异','顯示最新一次修訂的差異'),lastContrib:wgULS('最近编辑','最近編輯'),'last set of edits':wgULS('最近编辑','最近編輯'),lastContribHint:wgULS('显示由最后一位编辑者造成的差异','顯示由最後一位編輯者製造的差異'),cur:wgULS('当前','當前'),diffCur:wgULS('与当前版本的差异','與目前版本的差異'),'Show changes since revision %s':wgULS('显示自修订版本 %s 的差异','顯示自修訂版本 %s 的差異'),'%s old':wgULS('%s 前的最后版本','%s 前的最后版本'),oldEdit:wgULS('旧编辑','舊編輯'),purge:wgULS('清除缓存','清除快取'),purgeHint:wgULS('清除服务器中 %s 的缓存','清除伺服器中 %s 的快取'),raw:wgULS('源代码','原始碼'),rawHint:wgULS('查看 %s 的源代码','檢視 %s 的原始碼'),render:wgULS('仅正文','僅正文'),renderHint:wgULS('显示 %s 的纯HTML解析(仅正文内容)','顯示 %s 的純HTML解析(僅正文內容)'),'Show the edit made to get revision':wgULS('显示编辑以得到修订版本','顯示編輯以得到修訂版本'),sinceMe:wgULS('自我','自我'),'changes since mine':wgULS('自我修订的差异','自我修訂的差異'),sinceMeHint:wgULS('显示自我上次修改以来的差异','顯示自我上次修改以來的差異'),'Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s':wgULS('在 $3 最近 $2 次编辑中找不到 $1 做出的修改','在 $3 最近 $2 次編輯中找不到 $1 做出的修改'),eds:wgULS('编辑','編輯'),editors:wgULS('编辑者','編輯者'),editorListHint:wgULS('列出编辑过 %s 的用户','列出編輯過 %s 的使用者',null,null,'列出編輯過 %s 的用戶'),related:wgULS('相关','相關'),relatedChanges:wgULS('相关更改','相關更改'),'related changes':wgULS('相关更改','相關更改'),RecentchangeslinkedHint:wgULS('显示相关 %s 的修改','顯示相關 %s 的修改'),editOld:wgULS('编辑旧版','編輯舊版'),rv:wgULS('回退','恢復'),revert:wgULS('回退','恢復'),revertHint:wgULS('回退到 %s','恢復到 %s'),undo:wgULS('撤销','撤銷'),undoHint:wgULS('撤销这次编辑','撤銷這次編輯'),defaultpopupRedlinkSummary:wgULS('移除到空页面[[%s]]的链接 ——[[Help:Popups小工具|Popups]]','移除到空頁面[[%s]]的連結 ——[[Help:Popups小工具|Popups]]'),defaultpopupFixDabsSummary:wgULS('消歧义[[%s]]到[[%s]] ——[[Help:Popups小工具|Popups]]','消歧義[[%s]]到[[%s]] ——[[Help:Popups小工具|Popups]]'),defaultpopupFixRedirsSummary:wgULS('忽略从[[%s]]到[[%s]]的重定向 ——[[Help:Popups小工具|Popups]]','忽略從[[%s]]到[[%s]]的重新導向 ——[[Help:Popups小工具|Popups]]'),defaultpopupExtendedRevertSummary:wgULS('回退到$2在$1时编辑的修订版本$3 ——[[Help:Popups小工具|Popups]]','還原到$2在$1時製作的修訂版本$3 ——[[Help:Popups小工具|Popups]]'),defaultpopupRevertToPreviousSummary:wgULS('回退到修订版本%s的上一个版本 ——[[Help:Popups小工具|Popups]]','還原到修訂版本%s的上一個版本 ——[[Help:Popups小工具|Popups]]'),defaultpopupRevertSummary:wgULS('回退到修订版本%s ——[[Help:Popups小工具|Popups]]','還原到修訂版本%s ——[[Help:Popups小工具|Popups]]'),defaultpopupQueriedRevertToPreviousSummary:wgULS('回退到修订版本$1的上一个版本,由$3在$2时编辑 ——[[Help:Popups小工具|Popups]]','還原到修訂版本$1的上一個版本,由$3在$2時製作 ——[[Help:Popups小工具|Popups]]'),defaultpopupQueriedRevertSummary:wgULS('回退到$3在$2时编辑的修订版本$1 ——[[Help:Popups小工具|Popups]]','還原到$3在$2時製作的修訂版本$1 ——[[Help:Popups小工具|Popups]]'),defaultpopupRmDabLinkSummary:wgULS('移除到消歧义页[[%s]]的链接 ——[[Help:Popups小工具|Popups]]','移除到消歧義頁[[%s]]的連結 ——[[Help:Popups小工具|Popups]]'),Redirects:wgULS('重定向','重定向'),'Bypass redirect':wgULS('忽略重定向','忽略重新導向'),'Fix this redirect':wgULS('修复重定向','修復重新導向'),disambig:wgULS('消歧义','消歧義'),disambigHint:wgULS('消歧义这个链接到 [[%s]]','消歧義這個連結到 [[%s]]'),'Click to disambiguate this link to:':wgULS('点击以消歧义这个链接到:','點擊以消歧義這個連結到:'),'remove this link':wgULS('移除链接','移除連結'),'remove all links to this page from this article':wgULS('移除此条目到这页的所有链接','移除此條目到這頁的所有連結'),'remove all links to this disambig page from this article':wgULS('移除此条目到这消歧义的所有链接','移除此條目到這消歧義的所有連結'),mainlink:wgULS('主链接','主連結'),wikiLink:wgULS('个内部链接','個內部連結'),wikiLinks:wgULS('个内部链接','個內部連結'),'links here':wgULS('链入','鏈入'),whatLinksHere:wgULS('链入页面','鏈入頁面'),'what links here':wgULS('链入页面','鏈入頁面'),WhatlinkshereHint:wgULS('显示链接到 %s 的页面','顯示連結到 %s 的頁面'),unwatchShort:wgULS('取消','取消'),watchThingy:wgULS('监视','監視'),watchHint:wgULS('加入 %s 到我的监视列表','加入 %s 到我的監視列表'),unwatchHint:wgULS('从我的监视列表移除 %s','從我的監視列表移除 %s'),'Only found one editor: %s made %s edits':wgULS('仅找到一位编者:%s 制造了 %s 次编辑','僅找到一位編者:%s 製造了 %s 次編輯'),'%s seems to be the last editor to the page %s':wgULS('%s 看上去是 %s 这页的最后一位编者','%s 看上去是 %s 這頁的最後一位編者'),rss:wgULS('RSS','RSS'),'Diff truncated for performance reasons':wgULS('出于性能考虑,差异已被截断','出於效能考慮,差異已被截斷'),'Old revision':wgULS('旧版本','舊版本'),'New revision':wgULS('新版本','新版本'),'Something went wrong :-(':wgULS('出问题了 :-(','出問題了 :-('),'Empty revision, maybe non-existent':wgULS('空的修订,可能并不存在','空的修訂,可能並不存在'),'Unknown date':wgULS('未知日期','未知日期'),'Empty category':wgULS('空的分类','空的分類'),'Category members (%s shown)':wgULS('分类成员(%s 显示)','分類成員(%s 顯示)'),'No image links found':wgULS('未找到文件链接','未找到檔案連結'),'File links':wgULS('文件链接','檔案連結'),'not commons':wgULS('维基共享中无此名称的文件。','維基共享中無此名稱的檔案。'),'commons only':wgULS('此文件来自维基共享。','此檔案來自維基共享。'),'No image found':wgULS('找不到文件','找不到檔案'),'commons dupe':wgULS('维基共享中存在此文件的副本。','維基共享中存在此檔案的副本。'),'commons conflict':wgULS('维基共享中存在此文件名称不同的副本。','維基共享中存在此檔名稱不同的副本。'),user:wgULS('用户','使用者',null,null,'用戶'),'user&nbsp;page':wgULS('用户页','使用者頁',null,null,'用戶頁'),'user talk':wgULS('用户讨论','使用者對話',null,null,'用戶討論'),'edit user talk':wgULS('编辑用户讨论','編輯使用者對話',null,null,'編輯用戶討論'),'leave comment':wgULS('留言','留言'),email:wgULS('电邮','電郵'),'email user':wgULS('电邮用户','電郵使用者'),EmailuserHint:wgULS('给 %s 发送电子邮件','給 %s 發送電子郵件'),space:wgULS('子页面','子頁面'),PrefixindexHint:wgULS('显示 %s 的用户页子页面','顯示 %s 的使用者頁子頁面',null,null,'顯示 %s 的用戶頁子頁面'),count:wgULS('统计','統計'),'edit counter':wgULS('编辑次数','編輯次數'),katelinkHint:wgULS('%s 的编辑次数','%s 的編輯次數'),contribs:wgULS('贡献','貢獻'),contributions:wgULS('贡献','貢獻'),deleted",
    "Contribs:wgULS('已删除的贡献','已刪除的貢獻'),ContributionsHint:wgULS('%s 的用户贡献','%s 的使用者貢獻',null,null,'%s 的用戶貢獻'),tree:wgULS('树','樹'),contribsTreeHint:wgULS('根据名字空间查看 %s 的贡献','根據命名空間檢視 %s 的貢獻'),log:wgULS('日志','日誌'),'user log':wgULS('用户日志','使用者日誌',null,null,'用戶日誌'),userLogHint:wgULS('显示 %s 的用户日志','顯示 %s 的使用者日誌',null,null,'顯示 %s 的用戶日誌'),arin:wgULS('ARIN 查询','ARIN 查詢'),'Look up %s in ARIN whois database':wgULS('在 ARIN Whois 数据库中查询 %s','在 ARIN Whois 數據庫中查詢 %s'),unblockShort:wgULS('解除','解除'),block:wgULS('封禁','封鎖'),'block user':wgULS('封禁用户','封鎖使用者',null,null,'封鎖用戶'),IpblocklistHint:wgULS('解封 %s','解封 %s'),BlockipHint:wgULS('封禁 %s','封鎖 %s'),'block log':wgULS('封禁日志','封鎖日誌'),blockLogHint:wgULS('显示 %s 的封禁日志','顯示 %s 的封鎖日誌'),protectLogHint:wgULS('显示 %s 的保护日志','顯示 %s 的保護日誌'),pageLogHint:wgULS('显示 %s 的日志','顯示 %s 的日誌'),deleteLogHint:wgULS('显示 %s 的删除日志','顯示 %s 的刪除日誌'),'Invalid %s %s':wgULS('选项 %s 不可用:%s','選項 %s 不可用:%s'),m:wgULS('小','小'),'Enter a non-empty edit summary or press cancel to abort':wgULS('输入编辑摘要,或按取消中止操作','輸入編輯摘要,或按取消中止操作'),'Failed to get revision information, please edit manually.\\n\\n':wgULS('获取修订版本信息失败,请手动修改。\\n\\n','獲取修訂版本資訊失敗,請手動修改。\\n\\n'),'The %s button has been automatically clicked. Please wait for the next page to load.':wgULS('按钮 %s 已被自动点击,请等待下一个页面加载。','按鈕 %s 已被自動點擊,請等待下一個頁面載入。'),'Could not find button %s. Please check the settings in your javascript file.':wgULS('找不到按钮 %s,请检查您 JavaScript 文件中的设置。','找不到按鈕 %s,請檢查您 JavaScript 檔案中的設定。'),'Open full-size image':wgULS('查看全尺寸图像','檢視全尺寸影像'),zxy:wgULS('zxy','zxy'),globalSearchHint:wgULS('在维基百科其他语言搜索“%s”','在維基百科其他語言搜尋「%s」'),googleSearchHint:wgULS('在 Google 上搜索“%s”','在 Google 上搜尋「%s」'),'enable previews':wgULS('启用预览','啟用預覽'),'show preview':wgULS('禁用预览','禁用預覽'),historyfeedHint:wgULS('该页面的近期更改 RSS feed','該頁面的近期更改 RSS feed'),'send thanks':wgULS('发送感谢','傳送感謝'),ThanksHint:wgULS('向该用户发送一封感谢消息','向該使用者傳送一封感謝訊息'),'mark patrolled':wgULS('标记为已巡查','標記為已巡查'),markpatrolledHint:wgULS('标记该编辑为已巡查','標記該編輯為已巡查'),'Could not marked this edit as patrolled':wgULS('无法标记该编辑为已巡查','無法標記該編輯為已巡查'),defaultpopupReviewedSummary:wgULS('标记从版本%s到%s间的编辑为已巡查','標記從版本%s到%s間的編輯為已巡查'),'Image from Commons':wgULS('来自维基共享的图片','來自維基共用的圖片'),'Description page':wgULS('图片描述页','圖片描述頁'),'Alt text:':wgULS('替换文本(Alt):','替換文字(Alt):'),revdel:wgULS('历史版本被隐藏','歷史版本被隱藏'),editCounterLinkHint:wgULS('用户%s的编辑次数','使用者%s的編輯次數'),DeletedcontributionsHint:wgULS('用户%s的被删除编辑次数','使用者%s的被刪除編輯次數'),'No backlinks found':wgULS('找不到链入页面','找不到鏈入頁面'),' and more':wgULS('以及其他页面','以及其他頁面'),'Download preview data':wgULS('下载预览数据','下載預覽資料'),'Invalid or IP user':wgULS('错误的用户名或IP用户','錯誤的使用者名稱或IP使用者'),'Not a registered username':wgULS('非已注册的用户','非已註冊的使用者'),BLOCKED:wgULS('被封禁','被封鎖'),'Has blocks':wgULS('被部分封禁','被部分封鎖'),' edits since: ':wgULS('次编辑,注册日期为','次編輯,註冊日期為'),'last edit on ':wgULS('最后一次编辑于','最後一次編輯於'),EmailUserHint:wgULS('给 %s 发送电子邮件','給 %s 發送電子郵件'),RANGEBLOCKED:wgULS('IP段被封禁','IP段被封鎖'),'IP user':wgULS('IP用户','IP使用者'),'♀':'♀','♂':'♂',HIDDEN:wgULS('全域隐藏','全域隱藏'),LOCKED:wgULS('全域锁定','全域鎖定'),'Invalid user':wgULS('非法用户名','非法使用者名稱'),diff:wgULS('差异','差異'),' to ':wgULS('至','至'),autoedit_version:'np20140416',PrefixIndexHint:wgULS('显示用户%s的子页面','顯示使用者%s的子頁面',null,null,'顯示用戶%s的子頁面'),nullEditSummary:wgULS('进行一次零编辑','進行一次零編輯'),'group-no-autoconfirmed':wgULS('非自动确认用户','非自動確認使用者',null,null,'非自動確認用戶'),separator:'、',comma:','},b={api:{},re:{},ns:{},string:{},wiki:{},user:{},misc:{},option:{},optionDefault:{},flag:{},cache:{},structures:{},timer:{},counter:{},current:{},fn:{},endoflist:null};function Q(e,t,i,n){w('setupTooltips, container='.concat(e,', remove=').concat(t)),e||(N('popupOnEditSelection')&&document&&document.editform&&document.editform.wpTextbox1&&(document.editform.wpTextbox1.onmouseup=vt),e=function(){var e;if(N('popupOnlyArticleLinks'))return document.querySelector('.skin-vector-2022 .vector-body')||document.getElementById('mw_content')||document.getElementById('content')||document.getElementById('article')||(null==(e=document.getElementsByTagName('article'))?void 0:e[0])||document;return document}()),!t&&!i&&e.ranSetupTooltipsAlready||(e.ranSetupTooltipsAlready=!t,function e(t,i,n,o,r,a){w(d('setupTooltipsLoop(%s,%s,%s,%s,%s)',[t,i,n,o,r,a]));var s=i+n;var p=Math.min(s,t.length);var c=p-i;w('setupTooltips: anchors.length='.concat(t.length,', begin=').concat(i,', howmany=').concat(n,', loopend=').concat(p,', remove=').concat(r));var u=r?K:G;if(0<c)do{var l=t[p-c]}while(void 0!==l&&l&&l.href?u(l,a):w('got null anchor at index '.concat(p)-c),--c);s<t.length?setTimeout(function(){e(t,s,n,o,r,a)},o):(r||N('popupTocLinks')||V(),b.flag.finishedLoading=!0)}(e.getElementsByTagName('A'),0,250,100,t,n))}function V(){var e=document.getElementById('toc');if(e)for(var t=e.getElementsByTagName('A'),i=t.length,n=0;n<i;++n)K(t[n])}function G(e,t){!function(e){Me.done||Me();if(e.inNopopupSpan)return;if(e.onmousedown||e.getAttribute('nopopup'))return;e=e.href;return e!==''.concat(document.location.href,'#')&&!!b.re.basenames.test(e)&&(!b.re.urlNoPopup.test(e)||(b.re.email.test(e)||b.re.contribs.test(e)||b.re.backlinks.test(e)||b.re.specialdiff.test(e))&&-1===e.indexOf('&limit='))}(e)||(e.onmouseover=Y,e.onmouseout=Ze,e.onmousedown=le,e.hasPopup=!0,e.popData=t)}function K(e){e.hasPopup&&(e.onmouseover=null,e.onmouseout=null,e.originalTitle&&(e.title=e.originalTitle),e.hasPopup=!1)}function Z(e){!e.title&&e.originalTitle&&(e.title=e.originalTitle)}function X(e){document.removeEventListener('keydown',e.modifierKeyHandler,!1),document.removeEventListener('keyup',e.modifierKeyHandler,!1)}function Y(e){var t,i;return!e&&window.event&&(e=window.event),N('popupModifier')&&(t='disable'===N('popupModifierAction')?'keyup':'keydown',(i=this).modifierKeyHandler=function(e){ee(i,e)},document.addEventListener(t,i.modifierKeyHandler,!1)),ee(this,e)}function J(e){var t=N('popupModifier');return!!t&&(e=!e&&window.event?window.event:e)&&t&&e[''.concat(t.toLowerCase(),'Key')]}function ee(e,t){var i,n,o,r,a,s,p;t=t,(!N('popupModifier')||'enable'===(i=N('popupModifierAction'))&&J(t)||'disable'===i&&!J(t))&&(N('removeTitles')&&((i=e).originalTitle||(i.originalTitle=i.title),i.title=''),e===b.current.link&&e.navpopup&&e.navpopup.isVisible()||(b.current.link=e,N('simplePopups')&&!b.option.popupStructure&&D('popupStructure','original'),n=(new k).fromAnchor(e),b.current.article=n,e.navpopup||(e.navpopup=(t=e,p=n,(o=new c).fuzz=5,o.delay=1e3*N('popupDelay'),o.idNumber=++b.idNumber,o.parentAnchor=t,o.parentPopup=t.popData&&t.popData.owner,o.article=p,function(e){var t=N('popupMaxWidth');'number'==typeof t&&e.addHook(function(){e.mainDiv.style.maxWidth=''.concat(t,'px'),e.maxWidth=t},'unhide','before'),e.addHook(Ht,'unhide','after'),e.addHook(Et,'hide','before')}(o),o),b.current.linksHash[e.href]=e.navpopup,b.current.links.push(e)),null!==e.navpopup.pending&&0===e.navpopup.pending||(t=n,(r=e).navpopup.hasPopupMenu=!1,r.navpopup.setInnerHTML(function e(t){N('popupStructure');var i=b.structures[b.option.popupStructure];if('object'!=typeof i)return b.option.popupStructure=b.optionDefault.popupStructure,e(t);if('function'!=typeof i.popupLayout)return'Bad layout';b.misc.layout=i.popupLayout();'function'==typeof i.popupRedirSpans?b.misc.redirSpans=i.popupRedirSpans():b.misc.redirSpans=[];return qe(b.misc.layout,t.navpopup)}(r)),ze({navpopup:r.navpopup}),N('popupDraggable')&&((a=N('popupDragHandle')||null)&&'all'!==a&&(a+=r.navpopup.idNumber),setTimeout(function(){r.navpopup.makeDraggable(a)},150)),N('popupRedlinkRemoval')&&'new'===r.className&&x('<br>'.concat(function(e){return zt({newTarget:null,text:C('remove this link').split(' ').join('&nbsp;'),hint:C('remove all links to this page from this article'),clickButton:N('popupRedlinkAutoClick'),oldTarget:e.toString(),summary:d(N('popupRedlinkSummary'),[e.toString()])})}(t)),'popupRedlink',r.navpopup.idNumber)),e.navpopup.showSoonIfStable(e.navpopup.delay),clearInterval(b.timer.checkPopupPosition),b.timer.checkPopupPosition=setInterval(Ke,600),N('simplePopups')&&N('popupPreviewButton')&&!e.simpleNoMore&&((s=document.createElement('div')).className='popupPreviewButtonDiv',p=document.createElement('span'),s.appendChild(p),p.className='popupPreviewButton',p['on'.concat(N('popupPreviewButtonEvent'))]=function(){e.simpleNoMore=!0,s.style.display='none',oe(e,n)},p.innerHTML=C('show preview'),x(s,'popupPreview',e.navpopup.idNumber)),0!==e.navpopup.pending&&oe(e,n)))}function te(e){N('popupDebugging')&&e.idNumber&&x('idNumber='.concat(e.idNumber,', pending=').concat(e.pending),'popupError',e.idNumber)}function ie(e){return!N('simplePopups')||e.simpleNoMore}function ne(e,t){return ie(e)?N(t):void 0!==window[t]&&window[t]}function oe(e,t){var i,n=null,o=null,r=Ne(e.href),a=void 0===r.oldid?null:r.oldid,r=(ne(e,'popupPreviewDiffs')&&(n=r.diff),ne(e,'popupPreviewHistory')&&(o='history'===r.action),e.navpopup.pending=0,function(e){var t=(e=k.fromAnchor(e)).anchor;if(/^(cite_note-|_note-|endnote)/.test(t)){var i=k.fromURL(location.href);if(i.toString(!0)===e.toString(!0))for(var n=document.getElementById(t);n&&'string'==typeof n.nodeName;){var o=n.nodeName.toLowerCase();if('li'===o)return n;if('body'===o)return!1;if(!n.parentNode)return!1;n=n.parentNode}}return!1}(e));r?(i=e.navpopup,x('<hr />'.concat(r.innerHTML),'popupPreview',i.idNumber)):n||0===n?function(o,r,a,s){__awaiter(this,void 0,void 0,function(){var t,i,n;return __generator(this,function(e){switch(e.label){case 0:switch(s.diffData={oldRev:{},newRev:{}},i=U(),t={action:'compare',prop:'ids|title'},o.title&&(t.fromtitle=o.title),a){case'cur':switch(r){case null:case'':case'prev':t.torelative='prev';break;default:t.fromrev=r,t.torelative='cur'}break;case'prev':r&&(t.fromrev=r),t.torelative='prev';break;case'next':t.fromrev=r||0,t.torelative='next';break;default:t.fromrev=r||0,t.torev=a||0}return[4,i.get(t)];case 1:return i=e.sent(),s.diffData.oldRev.revid=i.compare.fromrevid,s.diffData.newRev.revid=i.compare.torevid,function(n,o){__awaiter(this,void 0,void 0,function(){var t,i;return __generator(this,function(e){switch(e.label){case 0:return b.user.canReview?n.diffData.newRev.revid<=n.diffData.oldRev.revid?[2]:(t={action:'query',prop:'info|flagged',revids:n.diffData.oldRev.revid,formatversion:2},[4,U().get(t)]):[2];case 1:return t=e.sent(),(t.query.pages[0].",
    "flagged&&t.query.pages[0].flagged.stable_revid||0)===n.diffData.oldRev.revid&&((i=document.createElement('a')).innerHTML=C('mark patrolled'),i.title=C('markpatrolledHint'),i.onclick=function(){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(e){switch(e.label){case 0:t={action:'review',revid:n.diffData.newRev.revid,comment:_('defaultpopupReviewedSummary',[n.diffData.oldRev.revid,n.diffData.newRev.revid])},e.label=1;case 1:return e.trys.push([1,3,,4]),[4,U().postWithToken('csrf',t)];case 2:return e.sent(),i.style.display='none',[3,4];case 3:return e.sent(),alert(C('Could not marked this edit as patrolled')),[3,4];case 4:return[2]}})})},x(i,o,n.idNumber,null,!0)),[2]}})})}(s,'popupMiscTools'),n=function(){re(s);var e=''.concat(b.wiki.apiwikibase,'?format=json&formatversion=2&action=query&');return je((e+='revids='.concat(s.diffData.oldRev.revid,'|').concat(s.diffData.newRev.revid))+'&prop=revisions'.concat('','&rvprop=ids|timestamp|content'),Nt,s),!0},s.visible||!N('popupLazyDownloads')?n():s.addHook(n,'unhide','before','DOWNLOAD_DIFFS'),[2]}})})}(t,a,n,e.navpopup):o?g('history',t,e.navpopup):ie(e)&&b.re.contribs.test(e.href)?g('contribs',t,e.navpopup):ie(e)&&b.re.backlinks.test(e.href)?g('backlinks',t,e.navpopup):t.namespaceId()!==b.nsImageId||!ne(e,'imagePopupsForImages')&&function(e){if(null!==e)for(var t=e.childNodes,i=0;i<t.length;++i)if('IMG'===t[i].nodeName)return 1;return}(e)?(t.namespaceId()===b.nsCategoryId&&ne(e,'popupCategoryMembers')?g('category',t,e.navpopup):t.namespaceId()!==b.nsUserId&&t.namespaceId()!==b.nsUsertalkId||!ne(e,'popupUserInfo')||g('userinfo',t,e.navpopup),ie(e)&&(r=t,i=a,(n=e.navpopup).redir=0,se(r,i,n))):(g('imagepagepreview',t,e.navpopup),ft(t,e.navpopup))}function re(e){e&&null===e.pending&&(e.pending=0),++e.pending,te(e)}function ae(e){e&&e.pending&&--e.pending,te(e)}function se(e,t,i){i.redir||(i.originalArticle=e),e.oldid=t,g('revision',e,i)}function pe(e,t){e=(new k).fromWikiText(e[2]);t.article.anchor&&(e.anchor=t.article.anchor),t.redir++,x(function(e,t){var i='';if(N('popupAppendRedirNavLinks')&&N('popupNavLinks'))return i+='<hr />',N('popupFixRedirs')&&void 0!==ve&&ve?(i+=C('Redirects to: (Fix '),w('redirLink: newTarget='.concat(e)),i=(i=(i=(i+=Dt(zt({newTarget:e,text:C('target'),hint:C('Fix this redirect, changing just the link target'),summary:d(N('popupFixRedirsSummary'),[t.toString(),e]),oldTarget:t.toString(),clickButton:N('popupRedirAutoClick'),minor:!0,watch:N('popupWatchRedirredPages')}),'R'))+C(' or '))+Dt(zt({newTarget:e,text:C('target & label'),hint:C('Fix this redirect, changing the link target and label'),summary:d(N('popupFixRedirsSummary'),[t.toString(),e]),oldTarget:t.toString(),clickButton:N('popupRedirAutoClick'),minor:!0,watch:N('popupWatchRedirredPages'),alsoChangeLabel:!0}),'R'))+C(')')):i+=C('Redirects')+C(' to '),i;return'<br> '.concat(C('Redirects')).concat(C(' to ')).concat(Mt({article:(new k).fromWikiText(e),action:'view',text:s(e),title:C('Bypass redirect')}))}(t.redirTarget=e,t.article),'popupWarnRedir',t.idNumber),ze({redir:!0,redirTarget:t.article=e,navpopup:t}),se(e,null,t)}function ce(e){var t,i,n,o,r;e.owner&&(o=e.data,i=(t=e.owner).redirTarget||t.originalArticle,r=o,n=t,N('popupFixDabs')&&_e(r,n.article)&&k.fromURL(location.href).namespaceId()!==b.nsSpecialId&&n.article.talkPage()&&x(function(e,t){var i=t.parentPopup&&t.parentPopup.article.toString(),e=function(e,t,i){for(var n=RegExp('\\\\[\\\\[([^|]*?) *(\\\\||\\\\]\\\\])','gi'),o=[],r=e.parenSplit(n),a=RegExp('^[a-z]*:|^[Ss]pecial:|^[Ii]mage|^[Cc]ategory'),s=t.toString(),e=N('popupDabWiktionary'),p=1;p<r.length;p+=3)'string'==typeof r[p]&&0<r[p].length&&!a.test(r[p])&&o.push($e(r[p],t,s,i));{var c;o=function(e){for(var t=[],i=0;i<e.length;++i)0!==t.length&&e[i]===t[t.length-1]||t.push(e[i]);return t}(o.sort()),e&&(n='wiktionary:'.concat(s.replace(RegExp('^(.+)\\\\s+[(][^)]+[)]\\\\s*$'),'$1')),c=void 0,c='first'===e.toLowerCase()?'unshift':'push',o[c]($e(n,t,s,i)))}return o.push(zt({newTarget:null,text:C('remove this link').split(' ').join('&nbsp;'),hint:C('remove all links to this disambig page from this article'),clickButton:N('popupDabsAutoClick'),oldTarget:t,summary:d(N('popupRmDabLinkSummary'),[s]),watch:N('popupWatchDisambiggedPages'),title:i})),o}(e,t.originalArticle,i);if(0===e.length)return w('listLinks returned empty list'),null;t='<hr />'.concat(C('Click to disambiguate this link to:'),'<br>');return t+=e.join(C('separator'))}(r,n),'popupFixDab',n.idNumber),N('popupSummaryData')&&(He(o,e),Be(He(o,e),t.idNumber)),r='',(r=i.namespaceId()===b.nsImageId?i.toString():function(e){var t=null,i=function(e,t,i,n){for(var o=e.parenSplit(t),r=i+1,a=0;a<o.length;++a)a%r==0||n.test(o[a])||(o[a]='');return o.join('')}(e,RegExp('(\\x3c!--[\\\\s\\\\S]*?--\\x3e)'),1,RegExp('^\\x3c!--[^[]*popup','i')),n=b.re.image.exec(i);for(;n;){var o=n[2]||n[6];if(Ae(o)){t=o;break}n=b.re.image.exec(i)}return b.re.image.lastIndex=0,t?''.concat(mw.config.get('wgFormattedNamespaces')[b.nsImageId],':').concat(Oe(t)):null}(o))&&ft(k.fromWikiText(r),t),N('popupPreviews'))&&(n=i,o=t,r=e)&&'string'==typeof r.data&&(n.namespaceId()===b.nsTemplateId&&N('popupPreviewRawTemplates')?x('<hr /><span style=\"font-family: monospace;\">'.concat(r.data.entify().split('\\\\n').join('<br />\\\\n'),'</span>'),'popupPreview',o.idNumber):ue(r.data,n,o).showPreview())}function ue(e,t,i){e=function(e,t){if(t){var i=RegExp('(?:=+\\\\s*'.concat(p(t).replace(/[_ ]/g,'[_ ]'),'\\\\s*=+|\\\\{\\\\{\\\\s*').concat(N('popupAnchorRegexp'),'\\\\s*(?:\\\\|[^|}]*)*?\\\\s*').concat(p(t),'\\\\s*(?:\\\\|[^}]*)?}})')),t=e.match(i);if(t&&0<t.length&&t[0])return e.substring(e.indexOf(t[0]));for(var n=e.split('\\n'),o=0;o<n.length;++o)if(n[o]=n[o].replace(RegExp('[[]{2}([^|\\\\]]*?[|])?(.*?)[\\\\]]{2}','g'),'$2').replace(/'''([^'])/g,'$1').replace(RegExp('\\'\\'([^\\'])','g'),'$1'),n[o].match(i))return e.split('\\n').slice(o).join('\\n').replace(RegExp('^[^=]*'),'')}return e}(e,t.anchorString()),t=[b.wiki.articlebase,t.urlString()].filter(We).join('/');return new O(e,t,i)}function le(){if(X(this),N('popupShortcutKeys')&&Et(),b)return b.current.link&&b.current.link.navpopup&&b.current.link.navpopup.banish(),b.current.link=null,Le(),b.timer.checkPopupPosition&&(clearInterval(b.timer.checkPopupPosition),b.timer.checkPopupPosition=null),!0}function e(){this.startCondition=null,this.endHook=null}function de(e,t){for(var i in b.structures[t]={},b.structures[e])b.structures[t][i]=b.structures[e][i]}function he(e){return'<a href=\"#\" noPopup=1>'.concat(C(e),'</a>')}function ge(e,t){var i=RegExp(t.from,t.flags);return e.replace(i,t.to)}function fe(e){var t;return e.length?(t=!1,'s'===e.charAt(0)&&!!(t=function(e){var t,i,n;if(e.length<4)return!1;var o=e.charAt(1);{if(e=e.substring(2),!(n=me(e,o)))return!1;t=n.segment,e=n.remainder}{if(!(n=me(e,o)))return!1;o=n.segment,e=n.remainder}i='',!e.length||(n=me(e,';')||{segment:e,remainder:''})&&(i=n.segment,e=n.remainder);return{action:ge,from:t,to:o,flags:i,remainder:e}}(e))&&[t].concat(fe(t.remainder))):[]}function me(e,t){var i,n=function(e,t){for(var i=0;i<e.length;++i)if('\\\\'===e.charAt(i)&&(i+=2),e.charAt(i)===t)return i;return-1}(e,t);return!(n<0)&&(i=e.substring(0,n),t=t,{segment:i.split('\\\\\\\\').join('\\\\').split('\\\\'.concat(t)).join(t).split('\\\\n').join('\\n'),remainder:e.substring(n+1)})}function we(e,t){e=mw.util.getParamValue(e);if(e)switch(e){case'1':case'yes':case'true':t.checked=!0;break;case'0':case'no':case'false':t.checked=!1}}function ve(){if(!document.editform)return!1;var e;/Popups/.test(mw.util.getParamValue('wpChangeTags'))&&((e=document.createElement('input')).type='hidden',e.name='wpChangeTags',e.value='Popups',document.editform.append(e),document.editform.action+='&wpChangeTags=Popups','wpSave'===mw.util.getParamValue('autoclick'))&&(e.value+=',Automation tool',document.editform.action+='%2CAutomation%20tool'),Ut(function(){if(mw.util.getParamValue('autoimpl')!==C('autoedit_version'))return!1;if(mw.util.getParamValue('autowatchlist')&&mw.util.getParamValue('actoken')===a()&&b.fn.modifyWatchlist(mw.util.getParamValue('title'),mw.util.getParamValue('action')),!document.editform)return!1;if(ve.alreadyRan)return!1;ve.alreadyRan=!0;var e=mw.util.getParamValue('autoedit');if(e){try{var t=document.editform.wpTextbox1,i=fe(e),n=function(e,t){for(var i=e,n=0;n<t.length;++n)i=t[n].action(i,t[n]);return i}(t.value,i);t.value=n}catch(e){return}'undefined'!=typeof wikEdUseWikEd&&!0===wikEdUseWikEd&&WikEdUpdateFrame()}we('autominor',document.editform.wpMinoredit),we('autowatch',document.editform.wpWatchthis);e=mw.util.getParamValue('autorv');e?Se(''.concat(b.wiki.apiwikibase,'?action=query&format=json&formatversion=2&prop=revisions&revids=').concat(e),null,ke):ke()})}function ke(e){var t=mw.util.getParamValue('autosummary'),i=mw.util.getParamValue('autosummaryprompt'),n='';if(e&&e.data&&mw.util.getParamValue('autorv')&&(t=!1===(e=function(e,t){try{var i=L(y(t).query.pages).revisions[0],n=i.timestamp.split(/[A-Z]/g).join(' ').replace(/^ *| *$/g,'');return d(e,[i.revid,n,i.userhidden?'(hidden)':i.user])}catch(e){return!1}}(t,e.data))?(i=!0,n=C('Failed to get revision information, please edit manually.\\n\\n'),d(t,[mw.util.getParamValue('autorv'),'(unknown)','(unknown)'])):e),i){e=n+C('Enter a non-empty edit summary or press cancel to abort'),i=prompt(e,t);if(!i)return;t=i}t&&(document.editform.wpSummary.value=t),setTimeout(be,100)}function a(){return mw.user.sessionId()}function be(){var e,t,i,n,o;mw.util.getParamValue('actoken')===a()&&(e=mw.util.getParamValue('autoclick'))&&(document.editform&&document.editform[e]?(t=document.editform[e],n=_('The %s button has been automatically clicked. Please wait for the next page to load.',[t.value]),(o=document.getElementsByTagName('h1'))&&((i=document.createElement('div')).innerHTML='<font size=+1><b>'.concat(b.escapeQuotesHTML(n),'</b></font>'),o[0].parentNode.insertBefore(i,o[0])),document.title='('.concat(document.title,')'),t.click()):alert(_('Could not find button %s. Please check the settings in your javascript file.',[e])))}function i(e){this.id=null,this.lastModified=null,this.callbackFunction=null,this.onFailure=null,this.aborted=!1,this.method='GET',this.async=!0,'undefined'!=typeof XMLHttpRequest&&(this.http=new X",
    "MLHttpRequest),this.url=e}function ye(e,t,i,n){var o=n,r=new M(e);if(!r.http)return'ohdear';r.id=t,r.setTarget();o=o||2;return r.setCallback(function(){if(4===r.getReadyState()){Reflect.deleteProperty(b.misc.downloadsInProgress,this.id);try{200===r.getStatus()?(r.data=r.getData(),r.lastModified=r.getLastModifiedDate(),i(r)):'number'==typeof o?0<o&&ye(e,t,i,o-1):'function'==typeof o&&o(r,e,t,i)}catch(e){}}}),r}function Se(e,t,i){e=ye(e,t,i);return'string'!=typeof e&&e.start(),e}function Le(){for(var e in b.misc.downloadsInProgress)try{b.misc.downloadsInProgress[e].aborted=!0,b.misc.downloadsInProgress[e].abort(),Reflect.deleteProperty(b.misc.downloadsInProgress,e)}catch(e){}}function xe(e,t){return S.conf.baseUrl=t,S.convert(e)}function Pe(e){return 949<(e=e.length)?Math.round(e/100)/10+C('kB'):''.concat(e,'&nbsp;').concat(C('bytes'))}function Ue(e){e=e.split('[[').length-1;return''.concat(e,'&nbsp;').concat(C(1!=e?'wikiLinks':'wikiLink'))}function Re(e){e=(e.parenSplit(b.re.image).length-1)/(b.re.imageBracketCount+1);return''.concat(e,'&nbsp;').concat(C(1!=e?'images':'image'))}function Te(e){e=(e.parenSplit(b.re.category).length-1)/(b.re.categoryBracketCount+1);return''.concat(e,'&nbsp;').concat(C(1!=e?'categories':'category'))}function Ie(e,t){var t=t.lastModified,i=moment(t);return t&&N('popupLastModified')?_('%s old',[function(e){var t=moment(),i=e.isBefore(t),n=i?t.year()-e.year():e.year()-t.year(),o=i?t.month()-e.month():e.month()-t.month(),r=i?t.date()-e.date():e.date()-t.date(),a=i?t.hour()-e.hour():e.hour()-t.hour(),s=i?t.minute()-e.minute():e.minute()-t.minute(),p=i?t.second()-e.second():e.second()-t.second();p<0&&(s--,p+=60);s<0&&(a--,s+=60);a<0&&(r--,a+=24);r<0&&(o--,[0,2,4,6,7,9,11].includes((i?e:t).month())?r+=31:1===(i?e:t).month()?(i?e:t).year()%4==0?r+=29:r+=28:r+=30);o<0&&(n--,o+=12);i='';0<n&&(i+=u(n,'year'));0<o?i+=u(o,'month'):''!==i&&(i+=u(0,'month'));0<r?i+=u(r,'day'):''!==i&&(i+=u(0,'day'));0<a?i+=u(a,'hour'):''!==i&&(i+=u(0,'hour'));0<s?i+=u(s,'minute'):''!==i&&(i+=u(0,'minute'));0<p?i+=u(p,'second'):''!==i&&(i+=u(0,'second'));return i.replace(/(\\d) /g,'$1')}(i)]).replace(RegExp(' ','g'),'&nbsp;'):''}function u(e,t){return''.concat(e,' ').concat(C(1!==e?''.concat(t,'s'):t))}function He(e,t){var i,n;return e&&0!==e.length?(n=N('popupFilters')||[],i=N('extraPopupFilters')||[],''!==(n=function(e,t,i){for(var n,o=[],r=0;r<e.length;++r)e[r]&&'function'==typeof e[r]&&(n=e[r](t,i,i.owner.article))&&o.push(n);return o}(n.concat(i),e,t).join(C('comma')))?Oe(n):n):C('Empty page')}function Ee(e,t,i){e=function(e,t){if(!N('popupAllDabsStubs')&&t.namespace())return!1;var i=0,n=0;if(b.re.stub.test(e))for(var o=e.parenSplit(b.re.stub),r=1;r<o.length;r+=2)o[r]?++i:++n;return{real:n,sect:i}}(e,i);return e.real?C('stub'):e.sect?C('section stub'):''}function De(e,t,i){return(N('popupAllDabsStubs')||!i.namespace())&&_e(e,i)?C('disambig'):''}function n(){}function o(e){var t=j.call(this)||this;return t.value=null,t.anchor='',t.setUtf(e),t}function Ne(e){var t=b.re.specialdiff.exec(e);if(t){t=t[1].split('/');if(1===t.length)return{oldid:t[0],diff:'prev'};if(2===t.length)return{oldid:t[0],diff:t[1]}}var i={};if(-1!==e.indexOf('?')){for(var n=(e=e.split('#')[0]).split('?').slice(1).join().split('&'),o=0;o<n.length;++o){var r=n[o].split('=');r.push(null),i[r[0]]=r[1]}i.diff&&void 0===i.oldid&&(i.oldid='prev'),!i.oldid||'prev'!==i.oldid&&'next'!==i.oldid&&'cur'!==i.oldid||(t=i.diff,i.diff=i.oldid,i.oldid=t)}return i}function Ce(t){try{o=decodeURI(t.toString())}catch(e){return t}for(var e=0;e<b.misc.decodeExtras.length;++e)var i=b.misc.decodeExtras[e].from,n=b.misc.decodeExtras[e].to,o=o.split(i).join(n);return o}function s(e){return Ce(e)||e}function _e(e,t){return(N('popupAllDabsStubs')||!t.namespace())&&!t.isTalkPage()&&b.re.disambig.test(e)}function Ae(e){return-1===e.indexOf('{')}function Me(){N('popupOnlyArticleLinks')||$('div.vectorMenu h3:first a:first, div.vector-menu h3:first a:first, nav.vector-menu h3:first a:first').prop('inNopopupSpan',!0);for(var e=$('.nopopups').toArray(),t=0;t<e.length;++t)for(var i=e[t].getElementsByTagName('a'),n=0;n<i.length;++n)i[n].inNopopupSpan=!0;Me.done=!0}function je(e,t,i){w('getPageWithCaching, url='.concat(e));var n,o,r,a,s,p=function(e){for(var t=0;t<b.cache.pages.length;++t)if(e===b.cache.pages[t].url)return t;return-1}(e);-1<p?(n=e,o=i.idNumber,r=t,a=b.cache.pages[p].data,p=b.cache.pages[p].lastModified,s=i,(n=ye(n,r)).owner=s,n.id=o,n.data=a,n.lastModified=p,r(n)):(s=function(e,i,t){w('getPage');return Se(e,t.idNumber,function(e){var t;e.aborted||(w('addPageToCache '.concat((t=e).url)),t={url:t.url,data:t.data,lastModified:t.lastModified},b.cache.pages.push(t),i(e))})}(e,t,i))&&i&&i.addDownload&&(i.addDownload(s),s.owner=i)}function y(t){try{var e=JSON.parse(t);if(e.warnings)for(var i=0;i<e.warnings.length;i++)e.warnings[i]['*']?w(e.warnings[i]['*']):w(e.warnings[i].warnings);else e.error&&v(''.concat(e.error.code,': ').concat(e.error.info));return e}catch(e){return v('Something went wrong with getJsObj, json='.concat(t)),1}}function L(e){for(var t in e)return e[t];return null}function Oe(e){return'string'!=typeof e||''===e?'':e.charAt(0).toUpperCase()+e.substring(1)}function p(e){return mw.util.escapeRegExp(e)}function We(e){return null!==e}function d(e,t){if(!e||!t)return e;var i=[],n=e.parenSplit(/(%s|\\$[0-9]+)/),o=0;do{if(i.push(n.shift()),!n.length)break;var r,a=n.shift()}while('%s'===a?(o<t.length?i.push(t[o]):i.push(a),++o):-1<(r=parseInt(a.replace('$',''),10)-1)&&r<t.length?i.push(t[r]):i.push(a),0<n.length);return i.join('')}function Fe(e){return'string'==typeof e||e instanceof String}function r(e,t){return void 0===t&&(t=2),''.concat(e).padStart(t,'0')}function l(e,t){if(Array.isArray(t)){for(var i=e,n=t,o=[],r=0;r<n.length;++r)o.push(i(n[r]));return o}var a,s=e,p=t,c={};for(a in p)c[p]=s(p[a]);return c}function $e(e,t,i,n){return w('retargetDab: newTarget='.concat(e,' oldTarget=').concat(t)),zt({newTarget:e,text:e.split(' ').join('&nbsp;'),hint:_('disambigHint',[e]),summary:d(N('popupFixDabsSummary'),[i,e]),clickButton:N('popupDabsAutoClick'),minor:!0,oldTarget:t,watch:N('popupWatchDisambiggedPages'),title:n})}function x(e,t,i,n,o){var r=i,i=(void 0===r&&(r=b.idNumber),document.getElementById(t+r));return i?(o||(i.innerHTML=''),Fe(e)?i.innerHTML+=e:i.appendChild(e),n&&n(),setTimeout(Ke,100),!0):(setTimeout(function(){x(e,t,r,n)},600),null)}function Be(e,t){x(e,'popupData',t)}function ze(e){var t,i,n=!0,o=('object'==typeof e&&void 0!==e.redir&&e.redir||(n=!1),e.navpopup.parentAnchor),r=null,a=null,s={},p=(n&&typeof e.redirTarget==typeof{}?i=e.redirTarget:(i=(new k).fromAnchor(o),r=o.originalTitle||i.hintValue(),s=Ne(o.href),a=N('popupHistoricalLinks')?s.oldid:null,t=s.rcid),{article:i,hint:r,oldid:a,rcid:t,navpop:e.navpopup,params:s}),c=b.structures[N('popupStructure')];if('object'!=typeof c)x('popupError','Unknown structure (this should never happen): '.concat(b.option.popupStructure),e.navpopup.idNumber);else for(var u=function e(t,i){var n=[];void 0===i&&(i=0);for(var o=i;o<t.length;++o){if(typeof t[o]==typeof[])return n.concat(e(t[o])).concat(e(t,o+1));n.push(t[o])}return n}(b.misc.layout),l=u.length,d=b.misc.redirSpans,h=0;h<l;++h){var g=d&&-1!==d.indexOf(u[h]);if(!(g&&!n||!g&&n)){var f=c[u[h]];if(void 0!==f){var m=x;switch(!N('popupActiveNavlinks')||0!==u[h].indexOf('popupTopLinks')&&0!==u[h].indexOf('popupRedirTopLinks')||(m=Ge),typeof f){case'function':w('running '.concat(u[h],'({article:').concat(p.article,', hint:').concat(p.hint,', oldid: ').concat(p.oldid,'})')),m(f(p),u[h],e.navpopup.idNumber);break;case'string':m(f,u[h],e.navpopup.idNumber);break;default:v('unknown thing with label '.concat(u[h],' (span index was ').concat(h,')'))}}}}}function qe(e,t){for(var i='',n=0;n<e.length;++n)'string'==typeof e[n]?i+=Qe(e[n],t.idNumber,'div'):typeof e[n]==typeof[]&&0<e[n].length?i=i.parenSplit(RegExp('(</[^>]*?>$)')).join(qe(e[n],t)):typeof e[n]==typeof{}&&e[n].nodeType&&(i+=Qe(e[n].name,t.idNumber,e[n].nodeType));return i}function Qe(e,t,i,n){i=i||'span';return n=(n=n||Qe.classAliases[e])||e,e===N('popupDragHandle')&&(n+=' popupDragHandle'),d('<%s id=\"%s\" class=\"%s\"></%s>',[i,e+t,n,i])}function Ve(e,t,i){function n(){Q(document.getElementById(e),!1,!0,i)}var o=(o=t)||250;return function(){setTimeout(n,o,i)}}function Ge(e,t,i,n){x(e,t,i,N('popupSubpopups')?Ve(t+i,null,n):null)}function Ke(){b.current.link&&b.current.link.navpopup&&b.current.link.navpopup.limitHorizontalPosition()}function Ze(){var e=this;X(e),null!==e.navpopup&&void 0!==e.navpopup&&(e.navpopup.isVisible()?(Z(e),c.tracker.addHook(Xe(e.navpopup))):e.navpopup.banish())}function Xe(n){return function(){var e,t,i;return!n.isVisible()||!c.tracker.dirty&&(e=c.tracker.x,t=c.tracker.y,e=n.isWithin(e,t,n.fuzz,n.mainDiv)||!function(e){if(e){for(var t=e.getElementsByTagName('ul'),i=0;i<t.length;++i)if('popup_menu'===t[i].className&&0<t[i].offsetWidth)return;return 1}}((n.fuzz,n.mainDiv)),(t=N('popupHideDelay'))&&(t*=1e3),t?(i=+new Date,n.mouseLeavingTime?e?(n.mouseLeavingTime=null,!1):i-n.mouseLeavingTime>t&&(n.mouseLeavingTime=null,n.banish(),!0):(n.mouseLeavingTime=i,!1)):!e&&(n.parentAnchor&&Z(n.parentAnchor),n.banish(),!0))}}function h(e,t,i){this.maxCharacters=N('popupMaxPreviewCharacters'),this.maxSentences=N('popupMaxPreviewSentences'),this.originalData=e,this.baseUrl=t,this.owner=i,this.setData()}function g(i,n,o){var e=this,t=new k(n).urlString(),r=''.concat(b.wiki.apiwikibase,'?format=json&formatversion=2&action=query&'),a=function(){alert('invalid html generator')},s='';switch(i){case'history':r+='titles='.concat(t,'&prop=revisions&rvlimit=').concat(N('popupHistoryPreviewLimit')),a=gt;break;case'category':r+='list=categorymembers&cmtitle='.concat(t),a=lt;break;case'userinfo':var p=new k(n).userName(),s=encodeURIComponent(p);b.re.ipUser.test(p)?r+='list=blocks&bkprop=range|restrictions&bkip='.concat(s):r+='list=users|usercontribs&usprop=blockinfo|groups|editcount|registration|gender&ususers='.concat(s,'&meta=globaluserinfo&guiprop=groups|unattached&guiuser=').concat(s,'&uclimit=1&ucprop=timestamp&ucuser=').concat(s),a=dt;break;case'contribs':s=encodeURIComponent(new k(n).userName()),r+='list=usercontribs&ucuser='.concat",
    "(s,'&uclimit=').concat(N('popupContribsPreviewLimit')),a=ht;break;case'imagepagepreview':p='';N('popupImageLinks')&&(p='&list=imageusage&iutitle='.concat(t)),r+='titles='.concat(t,'&prop=revisions|imageinfo').concat('','&rvprop=content').concat(p),a=ut;break;case'backlinks':r+='list=backlinks&bltitle='.concat(t),a=ct;break;case'revision':n.oldid?r+='revids='.concat(n.oldid):r+='titles='.concat(n.removeAnchor().urlString()),r+='&prop=revisions|pageprops|info|images|categories'.concat('','&rvprop=ids|timestamp|comment|user|content&cllimit=max&imlimit=max'),a=pt}re(o);function c(){return je(r,u,o),!0}var u=function(t){return __awaiter(e,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return w('callback of API functions was hit'),'userinfo'!==i?[3,2]:[4,function(e){var e=y(e).query,t=L(e.users),i=[];t.groups&&t.groups.forEach(function(e){i.push('group-'.concat(e,'-member'))});e.globaluserinfo&&e.globaluserinfo.groups&&e.globaluserinfo.groups.forEach(function(e){i.push('group-'.concat(e,'-member'))});return U().loadMessagesIfMissing(i)}(t.data)];case 1:return e.sent(),st(i,a(n,t,o),o.idNumber,o,t),[2];case 2:return st(i,a(n,t,o),o.idNumber,o,t),[2]}})})};o.visible||!N('popupLazyDownloads')?c():o.addHook(c,'unhide','before','DOWNLOAD_'.concat(i,'_QUERY_DATA'))}function Ye(e){e.sort(function(e,t){return e===t?0:e<t?-1:1});for(var t=[],i=0;i<e.length;++i)t.push(I({article:new k(e[i]),text:e[i].split(' ').join('&nbsp;'),action:'view'}));return t.join(C('separator'))}function Je(){var e=mw.user.options.get('timecorrection');return e&&-1<e.indexOf('|')?parseInt(e.split('|')[1],10):0}function f(){var e,t;return b.user.timeZone||(e=mw.user.options.get('timecorrection'),b.user.timeZone='UTC',e&&(3===(t=e.split('|')).length&&'ZoneInfo'===t[0]?b.user.timeZone=t[2]:v('Unexpected timezone information: '.concat(e)))),b.user.timeZone}function et(){var e;return void 0===Intl.DateTimeFormat.prototype.formatToParts||!(!(e=mw.user.options.get('timecorrection'))||-1!==e.indexOf('ZoneInfo|'))}function tt(){var e;return b.user.locales||(e=document.querySelector('html').getAttribute('lang'),N('popupLocale')?e=N('popupLocale'):'en'===e&&(e='mdy'===it()?'en-US':'en-GB'),b.user.locales=Intl.DateTimeFormat.supportedLocalesOf([e,navigator.language])),b.user.locales}function it(){return mw.user.options.get('date')}function nt(e,t){return new Date(+e+60*t*1e3)}function ot(e,t){return new Date(e.toLocaleString('en-US',{timeZone:t}))}function rt(e){var t;return et()?l(r,[(t=nt(e,Je())).getUTCFullYear(),t.getUTCMonth()+1,t.getUTCDate()]).join('-'):'ISO 8601'===it()?l(r,[(t=ot(e,f())).getFullYear(),t.getMonth()+1,t.getDate()]).join('-'):((t=N('popupDateFormatterOptions')).timeZone=f(),e.toLocaleDateString(tt(),t))}function at(e){var t;return et()?l(r,[(t=nt(e,Je())).getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()]).join(':'):'ISO 8601'===it()?l(r,[(t=ot(e,f())).getHours(),t.getMinutes(),t.getSeconds()]).join(':'):((t=N('popupTimeFormatterOptions')).timeZone=f(),e.toLocaleTimeString(tt(),t))}function st(e,t,i,n,o){var r,a,s='popupPreview';switch(ae(n),e){case'imagelinks':case'category':s='popupPostPreview';break;case'userinfo':s='popupUserData';break;case'revision':return void((r=o).owner&&(a=b.re.redirect.exec(r.data),0===r.owner.redir&&a?pe(a,r.owner):r.owner.visible||!N('popupLazyPreviews')?ce(r):(a=r.owner.redir?'PREVIEW_REDIR_HOOK':'PREVIEW_HOOK',r.owner.addHook(function(){return ce(r),!0},'unhide','after',a))))}Ge(t,s,i)}function pt(e,t){try{var i,n=L(y(t.data).query.pages);n.missing?t.owner=null:'string'==typeof(i=n&&n.revisions&&'wikitext'===n.revisions[0].contentmodel?n.revisions[0].content:null)&&(t.data=i,t.lastModified=new Date(n.revisions[0].timestamp))}catch(e){return'Revision preview failed :('}}function ct(e,t){try{var i=y(t.data),n=i.query.backlinks,o=[];if(!n)return C('No backlinks found');for(var r=0;r<n.length;r++){var a=new k(n[r].title);o.push('<a href=\"'.concat(b.wiki.titlebase).concat(a.urlString(),'\">').concat(a.toString().entify(),'</a>'))}return o=o.join(C('separator')),i.continue&&i.continue.blcontinue&&(o+=C(' and more')),o}catch(e){return'backlinksPreviewHTML went wonky'}}function ut(e,t,i){try{var n,o,r,a,s,p=L(y(t.data).query.pages),c=p&&p.revisions&&'wikitext'===p.revisions[0].contentmodel?p.revisions[0].content:null,u='',l='';try{l=i.parentAnchor.childNodes[0].alt}catch(e){}return l&&(u=''.concat(u,'<hr /><b>').concat(C('Alt text:'),'</b> ').concat(b.escapeQuotesHTML(l))),'string'==typeof c&&((n=ue(c,e,i)).makePreview(),n.html&&(u+='<hr />'.concat(n.html)),N('popupSummaryData'))&&(o=He(c,t),w(o),Be(o,i.idNumber)),p&&'shared'===p.imagerepository&&(r=new k(e),a=encodeURIComponent('File:'.concat(r.stripNamespace())),s=''.concat(b.wiki.apicommonsbase,'?format=json&formatversion=2&callback=pg.fn.APIsharedImagePagePreviewHTML&requestid=').concat(i.idNumber,'&action=query&prop=revisions').concat('','&rvprop=content&titles=').concat(a),u=''.concat(u,'<hr />').concat(C('Image from Commons'),': <a href=\"').concat(b.wiki.commonsbase,'?title=').concat(a,'\">').concat(C('Description page'),'</a>'),mw.loader.load(s)),st('imagelinks',function(e){try{var t=y(e.data).query.imageusage;if(t){for(var i=[],n=0;n<t.length;n++)i.push(t[n].title);return 0===i.length?C('No image links found'):'<h2>'.concat(C('File links'),'</h2>').concat(Ye(i))}return C('No image links found')}catch(e){return'Image links preview generation failed :('}}(t),i.idNumber,t),u}catch(e){return'API imagepage preview failed :('}}function lt(e,t){try{for(var i=y(t.data),n=i.query.categorymembers,o=[],r=0;r<n.length;r++)o.push(n[r].title);return 0===o.length?C('Empty category'):(o='<h2>'.concat(_('Category members (%s shown)',[o.length]),'</h2>').concat(Ye(o)),i.continue&&i.continue.cmcontinue&&(o+=C(' and more')),o)}catch(e){return'Category preview failed :('}}function dt(e,t){var i=[],n={};try{n=y(t.data).query}catch(e){return'Userinfo preview failed :('}var o=L(n.users);if(o){var r,a,s=n.globaluserinfo;if(''===o.invalid?i.push(C('Invalid user')):''===o.missing&&i.push(C('Not a registered username')),o.blockedby&&(o.blockpartial?i.push('<b>'.concat(C('Has blocks'),'</b>')):i.push('<b>'.concat(C('BLOCKED'),'</b>'))),s&&(Reflect.has(s,'locked')||Reflect.has(s,'hidden'))){for(var p=!0,c=0;s.unattached&&c<s.unattached.length;c++)if(s.unattached[c].wiki===mw.config.get('wgDBname')){p=!1;break}p&&(Reflect.has(s,'locked')&&i.push('<b><i>'.concat(C('LOCKED'),'</i></b>')),Reflect.has(s,'hidden'))&&i.push('<b><i>'.concat(C('HIDDEN'),'</i></b>'))}if(N('popupShowGender')&&o.gender)switch(o.gender){case'male':i.push(C('♂'));break;case'female':i.push(C('♀'))}o.groups&&(r=[],o.groups.forEach(function(e){-1===['*','user','autoconfirmed'].indexOf(e)&&r.push(b.escapeQuotesHTML(mw.message('group-'.concat(e,'-member'),o.gender).text()))}),-1===o.groups.indexOf('autoconfirmed')&&r.push('<b>'.concat(b.escapeQuotesHTML(C('group-no-autoconfirmed')),'</b>')),0===r.length&&r.push(b.escapeQuotesHTML(mw.message('group-user-member',o.gender).text())),i.push(r.join(C('separator')))),s&&s.groups&&(a=[],s.groups.forEach(function(e){a.push('<i>'.concat(b.escapeQuotesHTML(mw.message('group-'.concat(e,'-member'),o.gender).text()),'</i>'))}),i.push(a.join(C('separator')))),o.registration&&i.push(b.escapeQuotesHTML((o.editcount||'0')+C(' edits since: ')+(o.registration?rt(new Date(o.registration)):'')))}if(n.usercontribs&&n.usercontribs.length&&i.push(C('last edit on ')+rt(new Date(n.usercontribs[0].timestamp))),n.blocks){i.push(C('IP user'));for(var u=0;u<n.blocks.length;u++){var l=n.blocks[u].rangestart===n.blocks[u].rangeend?'BLOCK':'RANGEBLOCK',l=Array.isArray(n.blocks[u].restrictions)?''.concat(l,'ED'):'Has '.concat(l.toLowerCase(),'s');i.push('<b>'.concat(C(l),'</b>'))}}return i='<hr />'.concat(i.join(C('comma')))}function ht(e,t,i){return gt(e,t,0,!0)}function gt(e,t,i,n){try{var o,r,a=y(t.data),s=e,p=n?a.query.usercontribs:L(a.query.pages).revisions,c=n,u=['<table>'],l=null,d=s,h=null;r=c?function(e){var t='(';return t+'<a href=\"'.concat(b.wiki.titlebase).concat(new k(e.title).urlString(),'&diff=prev&oldid=').concat(e.revid,'\">').concat(C('diff'),'</a>')+'&nbsp;|&nbsp;'+'<a href=\"'.concat(b.wiki.titlebase).concat(new k(e.title).urlString(),'&action=history\">').concat(C('hist'),'</a>')+')'}:(o=p[0].revid,function(e){var t='(';return t+'<a href=\"'.concat(b.wiki.titlebase).concat(new k(d).urlString(),'&diff=').concat(o,'&oldid=').concat(e.revid,'\">').concat(C('cur'),'</a>')+'&nbsp;|&nbsp;'+'<a href=\"'.concat(b.wiki.titlebase).concat(new k(d).urlString(),'&diff=prev&oldid=').concat(e.revid,'\">').concat(C('last'),'</a>')+')'});for(var g=0;g<p.length;++g){c&&(h=p[g].title,d=new k(h));var f=p[g].minor?'<b>m </b>':'',m=new Date(p[g].timestamp),w=rt(m),m=at(m),w=(w===l?w='':l=w,w&&u.push('<tr><td colspan=3><span class=\"popup_history_date\">'.concat(w,'</span></td></tr>')),u.push('<tr class=\"popup_history_row_'.concat(g%2?'odd':'even','\">')),u.push('<td>'.concat(r(p[g]),'</td>')),u.push('<td><a href=\"'.concat(b.wiki.titlebase).concat(new k(d).urlString(),'&oldid=').concat(p[g].revid,'\">').concat(m,'</a></td>')),''),m='',v=(m=c?(w=b.wiki.titlebase+d.urlString(),b.escapeQuotesHTML(h)):(v=p[g].user,p[g].userhidden?(w=N('popupRevDelUrl'),b.escapeQuotesHTML(C('revdel'))):(w=(b.re.ipUser.test(v)?''.concat(b.wiki.titlebase+mw.config.get('wgFormattedNamespaces')[b.nsSpecialId],':Contributions&target='):''.concat(b.wiki.titlebase+mw.config.get('wgFormattedNamespaces')[b.nsUserId],':')).concat(new k(v).urlString()),b.escapeQuotesHTML(v))),u.push('<td>'.concat(c?f:'','<a href=\"').concat(w,'\">').concat(m,'</a></td>')),''),w=p[g].comment||(void 0!==p[g].slots?p[g].slots.main.content:null);w?v=new O(w,new k(d).toUrl()).editSummaryPreview():p[g].commenthidden&&(v=C('revdel')),u.push('<td>'.concat(c?'':f).concat(v,'</td>')),u.push('</tr>'),u=[u.join('')]}return u.push('</table>'),u.join('')}catch(e){return'History preview failed :-('}}function ft(e,r){var t,i;'function'!=typeof e.stripNamespace&&alert('loadImages bad'),N('popupImages')&&Ae(e)&&(e=e.urlString(),t=''.concat(b.wiki.apiwikibase,'?format=json&formatversion=2&action=query'),t=(t+='&prop=imageinfo&iiprop=url|mime&iiurlwidth='.concat(N('popupImageSizeLarge')))",
    "+'&titles='.concat(e),re(r),i=function(e){var t,i=r.idNumber;w('popupsInsertImage');try{var n=L(y(e.data).query.pages);if(void 0===n.imageinfo)return;t=n.imageinfo[0]}catch(e){return void w('popupsInsertImage failed :(')}if(e=document.getElementById('popupImg'.concat(i))){e.width=N('popupImageSize'),e.style.display='inline',t.thumburl?e.src=t.thumburl:0===t.mime.indexOf('image')?(e.src=t.url,w('a thumb could not be found, using original image')):w('fullsize imagethumb, but not sure if it\\'s an image');var o=document.getElementById('popupImageLink'.concat(i));if(null===o)return;switch(N('popupThumbAction')){case'imagepage':if(b.current.article.namespaceId()!==b.nsImageId){o.href=t.descriptionurl,Ve('popupImage'.concat(i))();break}case'sizetoggle':return void(o.onclick=mt,o.title=C('Toggle image size'));case'linkfull':o.href=t.url,o.title=C('Open full-size image')}}else w('could not find insertion point for image')},e=function(){return je(t,i,r),!0},r.visible||!N('popupLazyDownloads')?e():r.addHook(e,'unhide','after','DOWNLOAD_IMAGE_QUERY_DATA'))}function mt(){var e;this?(e=this.firstChild)?e.style.width&&''!==e.style.width?e.style.width='':e.style.width='100%':alert('img is null :/'):alert('imgContainer is null :/')}function wt(i){var n=[];return jQuery.each(mw.config.get('wgNamespaceIds'),function(e,t){e=Oe(e);t===i&&(n.push(mw.util.escapeRegExp(e).split(' ').join('[ _]')),n.push(mw.util.escapeRegExp(encodeURI(e))))}),'(?:'.concat(n.join('|'),')')}function vt(){var e=function(){var e,t,i;try{e=document.editform.wpTextbox1}catch(e){return}return document.selection?document.selection.createRange().text:(t=e.selectionStart,i=e.selectionEnd,e.value.substring(t,i))}(),t=e.indexOf('[['),i=e.indexOf('|'),n=e.indexOf(']]');if(-1!==t&&(-1!==i||-1!==n)&&!(-1!==i&&i<t||-1!==n&&n<t)){var o,t=new k(e.substring(t+2,i<0?n:i));if('boxpreview'===N('popupOnEditSelection')){var i=e,r=document.getElementById('selectionPreview');if(!r){(r=document.createElement('div')).id='selectionPreview';try{var a=document.editform.wpTextbox1;a.parentNode.insertBefore(r,a)}catch(e){return}}r.innerHTML=xe(i),r.ranSetupTooltipsAlready=!1,Ve('selectionPreview')()}else 0<n&&0<=e.substring(n+2).indexOf('[[')||((o=document.createElement('a')).href=b.wiki.titlebase+t.urlString(),ee(o),o.navpopup&&o.navpopup.addHook(function(){var e;(e=o.navpopup).stopPopupTimer||(e.stopPopupTimer=setInterval(Xe(e),500),e.addHook(function(){clearInterval(e.stopPopupTimer)},'hide','before'))},'unhide','after'))}}function m(){this.loopDelay=400,this.timer=null,this.active=!1,this.dirty=!0,this.hooks=[]}function P(){this.uid=P.uid++,this.visible=!1,this.noshow=!1,this.hooks={create:[],unhide:[],hide:[]},this.hookIds={},this.downloads=[],this.pending=null,this.fuzz=5,this.constrained=!0,this.width=0,this.height=0,this.mainDiv=null,this.createMainDiv()}function kt(e){return e.length?'<del class=\\'popupDiff\\'>'.concat(e.join(''),'</del>'):''}function bt(e){bt.list[e]||(bt.list[e]=1,alert('Bad word: '.concat(e,'\\n\\nPlease report this bug.')))}function yt(t){for(var e={},i=0;i<t.length;i++){F.test(t[i])&&(t[i]+='\\x3c!-- --\\x3e'),e[t[i]]||(e[t[i]]=[]);try{e[t[i]].push(i)}catch(e){bt(t[i])}}return e}function St(e,t){var i,n=yt(t),o=yt(e);for(i in n)1===n[i].length&&o[i]&&1===o[i].length&&(t[n[i][0]]={text:t[n[i][0]],row:o[i][0],paired:!0},e[o[i][0]]={text:e[o[i][0]],row:n[i][0],paired:!0});for(i=0;i<t.length-1;i++)t[i].paired&&!t[i+1].paired&&t[i].row+1<e.length&&!e[t[i].row+1].paired&&t[i+1]===e[t[i].row+1]&&(t[i+1]={text:t[i+1],row:t[i].row+1,paired:!0},e[t[i].row+1]={text:e[t[i].row+1],row:i+1,paired:!0});for(i=t.length-1;0<i;i--)t[i].paired&&!t[i-1].paired&&0<t[i].row&&!e[t[i].row-1].paired&&t[i-1]===e[t[i].row-1]&&(t[i-1]={text:t[i-1],row:t[i].row-1,paired:!0},e[t[i].row-1]={text:e[t[i].row-1],row:i-1,paired:!0});return{o:e,n:t}}function Lt(e){var t=[];return t.push(mw.util.escapeRegExp(e.realname)),t.push(mw.util.escapeRegExp(encodeURI(e.realname))),e.aliases.forEach(function(e){t.push(mw.util.escapeRegExp(e)),t.push(mw.util.escapeRegExp(encodeURI(e)))}),t.join('|')}function xt(){e=''.concat(p(mw.config.get('wgScriptPath')),'/(?:index[.]php|wiki[.]phtml)[?]title='),e+='|'.concat(p(''.concat(b.wiki.articlePath,'/'))),e='('.concat(e,')([^&?#]*)[^#]*(?:#(.+))?'),b.re.main=RegExp('[^:]*://'+p(b.wiki.sitebase)+e);var t=wt(b.nsSpecialId),e=(b.re.urlNoPopup=RegExp('((title=|/)'.concat(t,'(?:%3A|:)|section=[0-9]|^#$)')),b.wiki.specialpagealiases.forEach(function(e){'Contributions'===e.realname?b.re.contribs=RegExp('(title=|/)'.concat(t,'(?:%3A|:)(?:').concat(Lt(e),')(&target=|/|/').concat(wt(b.nsUserId),':)(.*)'),'i'):'Diff'===e.realname?b.re.specialdiff=RegExp('/'.concat(t,'(?:%3A|:)(?:').concat(Lt(e),')/([^?#]*)'),'i'):'Emailuser'===e.realname?b.re.email=RegExp('(title=|/)'.concat(t,'(?:%3A|:)(?:').concat(Lt(e),')(&target=|/|/(?:').concat(wt(b.nsUserId),':)?)(.*)'),'i'):'Whatlinkshere'===e.realname&&(b.re.backlinks=RegExp('(title=|/)'.concat(t,'(?:%3A|:)(?:').concat(Lt(e),')(&target=|/)([^&]*)'),'i'))}),wt(b.nsImageId));b.re.image=RegExp('(^|\\\\[\\\\[)'.concat(e,': *([^|\\\\]]*[^|\\\\] ])([^0-9\\\\]]*([0-9]+) *px)?|(?:\\\\n *[|]?|[|]) *(').concat(N('popupImageVarsRegexp'),') *= *(?:\\\\[\\\\[ *)?(?:').concat(e,':)?([^|]*?)(?:\\\\]\\\\])? *[|]? *\\\\n'),'img'),b.re.imageBracketCount=6,b.re.category=RegExp('\\\\[\\\\['.concat(wt(b.nsCategoryId),': *([^|\\\\]]*[^|\\\\] ]) *'),'i'),b.re.categoryBracketCount=1,b.re.ipUser=RegExp('^(?::(?::|(?::[0-9A-Fa-f]{1,4}){1,7})|[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){0,6}::|[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){7})|(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))$'),b.re.stub=RegExp(N('popupStubRegexp'),'im'),b.re.disambig=RegExp(N('popupDabRegexp'),'im'),b.re.oldid=RegExp('[?&]oldid=([^&]*)'),b.re.diff=RegExp('[?&]diff=([^&]*)')}function Pt(){b.cache.pages=[]}function U(){return b.api.client||(b.api.userAgent='Navigation popups/1.0 ('.concat(mw.config.get('wgServerName'),')'),b.api.client=new mw.Api({ajax:{headers:{'Api-User-Agent':b.api.userAgent}}})),b.api.client}function Ut(r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return Ut.completed?('function'==typeof r&&r(),[2]):[4,function(){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(e){switch(e.label){case 0:return t={action:'query',meta:'siteinfo',siprop:'specialpagealiases',formatversion:2,uselang:'content',maxage:3600},[4,U().get(t)];case 1:return t=e.sent(),b.wiki.specialpagealiases=t.query.specialpagealiases,[2]}})})}()];case 1:e.sent(),w('Initializing logger'),window.popupLocalDebug?b.wiki.hostname='en.wikipedia.org':b.wiki.hostname=location.hostname,b.wiki.wikimedia=RegExp('(wiki([pm]edia|source|books|news|quote|versity|species|voyage|data)|metawiki|wiktionary|mediawiki)[.]org').test(b.wiki.hostname),b.wiki.wikia=RegExp('[.]wikia[.]com$','i').test(b.wiki.hostname),b.wiki.isLocal=RegExp('^localhost').test(b.wiki.hostname),b.wiki.commons=b.wiki.wikimedia&&'commons.wikimedia.org'!==b.wiki.hostname?'commons.wikimedia.org':null,b.wiki.lang=mw.config.get('wgContentLanguage'),o=location.port?':'.concat(location.port):'',b.wiki.sitebase=b.wiki.hostname+o,o=window.popupLocalDebug?'http:':location.protocol,b.wiki.articlePath=mw.config.get('wgArticlePath').replace(/\\/\\$1/,''),b.wiki.botInterfacePath=mw.config.get('wgScript'),b.wiki.APIPath=''.concat(mw.config.get('wgScriptPath'),'/api.php'),n=''.concat(b.wiki.botInterfacePath,'?title='),b.wiki.titlebase=''.concat(o,'//').concat(b.wiki.sitebase).concat(n),b.wiki.wikibase=''.concat(o,'//').concat(b.wiki.sitebase).concat(b.wiki.botInterfacePath),b.wiki.apiwikibase=''.concat(o,'//').concat(b.wiki.sitebase).concat(b.wiki.APIPath),b.wiki.articlebase=''.concat(o,'//').concat(b.wiki.sitebase).concat(b.wiki.articlePath),b.wiki.commonsbase=''.concat(o,'//').concat(b.wiki.commons).concat(b.wiki.botInterfacePath),b.wiki.apicommonsbase=''.concat(o,'//').concat(b.wiki.commons).concat(b.wiki.APIPath),b.re.basenames=RegExp('^('.concat(l(p,[b.wiki.titlebase,b.wiki.articlebase]).join('|'),')'));var t=!1;if(mw.config.get('wgUserGroups'))for(var i=0;i<mw.config.get('wgUserGroups').length;++i)'sysop'===mw.config.get('wgUserGroups')[i]&&(t=!0);return D('popupDelay',.5),D('popupHideDelay',.5),D('simplePopups',!1),D('popupStructure','shortmenus'),D('popupActionsMenu',!0),D('popupSetupMenu',!0),D('popupAdminLinks',t),D('popupShortcutKeys',!1),D('popupHistoricalLinks',!0),D('popupOnlyArticleLinks',!0),D('removeTitles',!0),D('popupMaxWidth',350),D('popupSimplifyMainLink',!0),D('popupAppendRedirNavLinks',!0),D('popupTocLinks',!1),D('popupSubpopups',!0),D('popupDragHandle',!1),D('popupLazyPreviews',!0),D('popupLazyDownloads',!0),D('popupAllDabsStubs',!1),D('popupDebugging',!1),D('popupActiveNavlinks',!0),D('popupModifier',!1),D('popupModifierAction','enable'),D('popupDraggable',!0),D('popupReview',!1),D('popupLocale',!1),D('popupDateTimeFormatterOptions',{year:'numeric',month:'2-digit',day:'2-digit',hour12:!1,hour:'2-digit',minute:'2-digit',second:'2-digit'}),D('popupDateFormatterOptions',{year:'numeric',month:'2-digit',day:'2-digit'}),D('popupTimeFormatterOptions',{hour12:!1,hour:'2-digit',minute:'2-digit',second:'2-digit'}),D('popupImages',!0),D('imagePopupsForImages',!0),D('popupNeverGetThumbs',!1),D('popupThumbAction','imagepage'),D('popupImageSize',60),D('popupImageSizeLarge',200),D('popupFixRedirs',!1),D('popupRedirAutoClick','wpDiff'),D('popupFixDabs',!1),D('popupDabsAutoClick','wpDiff'),D('popupRevertSummaryPrompt',!1),D('popupMinorReverts',!1),D('popupRedlinkRemoval',!1),D('popupRedlinkAutoClick','wpDiff'),D('popupWatchDisambiggedPages',null),D('popupWatchRedirredPages',null),D('popupDabWiktionary','last'),D('popupNavLinks',!0),D('popupNavLinkSeparator',' &sdot; '),D('popupLastEditLink',!0),D('popupEditCounterTool','supercount'),D('popupEditCounterUrl',''),D('popupPreviews',!0),D('popupSummaryData',!0),D('popupMaxPreviewSentences',5),D('popupMaxPreviewCharacters',600),D('popupLastModified',!0),D('popupPreviewKillTemplates',!0),D('popupPreviewRawTemplates',!0),D('popupPreviewFirstParOnly',!0),D('popupPreviewCutHeadings',!0),D('popupPreviewButton',!1),D('popupPreviewButton",
    "Event','click'),D('popupPreviewDiffs',!0),D('popupDiffMaxLines',100),D('popupDiffContextLines',2),D('popupDiffContextCharacters',40),D('popupDiffDates',!0),D('popupDiffDatePrinter','toLocaleString'),D('popupReviewedSummary',C('defaultpopupReviewedSummary')),D('popupFixDabsSummary',C('defaultpopupFixDabsSummary')),D('popupExtendedRevertSummary',C('defaultpopupExtendedRevertSummary')),D('popupRevertSummary',C('defaultpopupRevertSummary')),D('popupRevertToPreviousSummary',C('defaultpopupRevertToPreviousSummary')),D('popupQueriedRevertSummary',C('defaultpopupQueriedRevertSummary')),D('popupQueriedRevertToPreviousSummary',C('defaultpopupQueriedRevertToPreviousSummary')),D('popupFixRedirsSummary',C('defaultpopupFixRedirsSummary')),D('popupRedlinkSummary',C('defaultpopupRedlinkSummary')),D('popupRmDabLinkSummary',C('defaultpopupRmDabLinkSummary')),D('popupHistoryLimit',50),D('popupFilters',[Ee,De,Pe,Ue,Re,Te,Ie]),D('extraPopupFilters',[]),D('popupOnEditSelection','cursor'),D('popupPreviewHistory',!0),D('popupImageLinks',!0),D('popupCategoryMembers',!0),D('popupUserInfo',!0),D('popupHistoryPreviewLimit',25),D('popupContribsPreviewLimit',25),D('popupRevDelUrl','//en.wikipedia.org/wiki/Wikipedia:Revision_deletion'),D('popupShowGender',!0),D('popupNewWindows',!1),D('popupLinksNewWindow',{lastContrib:!0,sinceMe:!0}),D('popupDabRegexp','\\\\{\\\\{\\\\s*(d(ab|isamb(ig(uation)?)?)|(((geo|hn|road?|school|number)dis)|[234][lc][acw]|(road|ship)index))\\\\s*(\\\\|[^}]*)?\\\\}\\\\}|is a .*disambiguation.*page'),D('popupAnchorRegexp','anchors?'),D('popupStubRegexp','(sect)?stub[}][}]|This .*-related article is a .*stub'),D('popupImageVarsRegexp','image|image_(?:file|skyline|name|flag|seal)|cover|badge|logo'),function(){__awaiter(this,void 0,void 0,function(){var t,i;return __generator(this,function(e){switch(e.label){case 0:return(t={action:'query',list:'users',ususers:mw.config.get('wgUserName'),usprop:'rights'},b.user.canReview=!1,N('popupReview'))?[4,U().get(t)]:[3,2];case 1:t=e.sent(),i=t.query.users[0].rights,b.user.canReview=-1!==i.indexOf('review'),e.label=2;case 2:return[2]}})})}(),b.nsSpecialId=-1,b.nsMainspaceId=0,b.nsImageId=6,b.nsUserId=2,b.nsUsertalkId=3,b.nsCategoryId=14,b.nsTemplateId=10,'zh'===b.wiki.lang?b.wiki.interwiki='en|ja':'en'===b.wiki.lang?b.wiki.interwiki='zh|ja':'ja'===b.wiki.lang&&(b.wiki.interwiki='zh|en'),b.re.interwiki=RegExp('^'.concat(b.wiki.interwiki,':')),xt(),o={ar:[n='REDIRECT','تحويل'],be:[o='redirect','перанакіраваньне'],bg:[o,'пренасочване','виж'],bs:[o,'Preusmjeri','preusmjeri','PREUSMJERI'],bn:[n,'পুনর্নির্দেশ'],cs:[n,'PŘESMĚRUJ'],cy:[o,'ail-cyfeirio'],de:[n,'WEITERLEITUNG'],el:[n,'ΑΝΑΚΑΤΕΥΘΥΝΣΗ'],eo:[n,'ALIDIREKTU','ALIDIREKTI'],es:[n,'REDIRECCIÓN'],et:[o,'suuna'],ga:[o,'athsheoladh'],gl:[o,'REDIRECCIÓN','REDIRECIONAMENTO'],he:[n,'הפניה'],hu:[n,'ÁTIRÁNYÍTÁS'],is:[o,'tilvísun','TILVÍSUN'],it:[n,'RINVIA','Rinvia'],ja:[n,'転送'],mk:[o,'пренасочување','види'],nds:[o,'wiederleiden'],'nds-nl':[n,'DEURVERWIEZING','DUURVERWIEZING'],nl:[n,'DOORVERWIJZING'],nn:[o,'omdiriger'],pl:[n,'PATRZ','PRZEKIERUJ','TAM'],pt:[n,'redir'],ru:[n,'ПЕРЕНАПРАВЛЕНИЕ','ПЕРЕНАПР'],sk:[o,'presmeruj'],sr:[o,'Преусмери','преусмери','ПРЕУСМЕРИ','Preusmeri','preusmeri','PREUSMERI'],tt:[n,'yünältü','перенаправление','перенапр'],uk:[n,'ПЕРЕНАПРАВЛЕННЯ','ПЕРЕНАПР'],vi:[o,'đổi'],yi:[n,'ווייטערפירן'],zh:[n,'重定向']}[b.wiki.lang]||[o,n],b.re.redirect=RegExp('^\\\\s*[#]('.concat(o.join('|'),').*?\\\\[{2}([^\\\\|\\\\]]*)(|[^\\\\]]*)?\\\\]{2}\\\\s*(.*)'),'i'),b.current.link=null,b.current.links=[],b.current.linksHash={},Pt(),b.timer.checkPopupPosition=null,b.counter.loop=0,b.idNumber=0,b.misc.decodeExtras=[{from:'%2C',to:','},{from:'_',to:' '},{from:'%24',to:'$'},{from:'%26',to:'&'}],S.conf={baseUrl:'',user:{},wiki:{lang:b.wiki.lang,interwiki:b.wiki.interwiki,default_thumb_width:180},paths:{articles:''.concat(b.wiki.articlePath,'/'),math:'/math/',images:'//upload.wikimedia.org/wikipedia/en/',images_fallback:'//upload.wikimedia.org/wikipedia/commons/'},locale:{user:mw.config.get('wgFormattedNamespaces')[b.nsUserId],image:mw.config.get('wgFormattedNamespaces')[b.nsImageId],category:mw.config.get('wgFormattedNamespaces')[b.nsCategoryId],months:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']}},(n=S.conf.user).name||(n.name='Wikipedian'),S.conf.user.signature='[['.concat(S.conf.locale.user,':').concat(S.conf.user.name,'|').concat(S.conf.user.name,']]'),S.BLOCK_IMAGE=new RegExp('^\\\\[\\\\[(?:File|Image|'.concat(S.conf.locale.image,'):.*?\\\\|.*?(?:frame|thumbnail|thumb|none|right|left|center)'),'i'),Q(),w('In setupPopups(), just called setupTooltips()'),c.tracker.enable(),Ut.completed=!0,'function'==typeof r&&r(),[2]}var n,o})})}function Rt(e,t,i){for(var n=function e(t,i,n,o){for(var r=n.oldid,a=n.rcid,s=n.diff,p=('number'!=typeof o&&(o=0),RegExp('(;?\\\\s*if\\\\s*\\\\(\\\\s*([\\\\w]*)\\\\s*\\\\)\\\\s*\\\\{([^{}]*)\\\\}(\\\\s*else\\\\s*\\\\{([^{}]*?)\\\\}|))','i')),c=t.parenSplit(p),u=c[0],l=1;l<c.length;l=l+5+1){var d=c[l+2-1],h=c[l+3-1],g=c[l+5-1],f=(void 0!==g&&g||(g=''),null);switch(d){case'user':f=!!i.userName();break;case'talk':f=!i.talkPage();break;case'admin':f=!!N('popupAdminLinks');break;case'oldid':f=!(void 0===r||!r);break;case'rcid':f=!(void 0===a||!a);break;case'ipuser':f=!!i.isIpUser();break;case'mainspace_en':f=0===i.namespaceId()&&'en.wikipedia.org'===b.wiki.hostname;break;case'wikimedia':f=!!b.wiki.wikimedia;break;case'diff':f=!(void 0===s||!s)}switch(f){case null:u+=c[l];break;case!0:u+=h;break;case!1:u+=g}u+=c[l+5]}return p.test(u)&&o<10?e(u,i,n,o+1):u}(e,t,i).parenSplit(RegExp('<<(.*?)>>')),o=[],r=0;r<n.length;++r)if(r%2){var a=new B,s=n[r].split('|');a.id=s[0];for(var p=1;p<s.length;++p){var c=s[p].split('=');1<c.length?a[c[0]]=c[1]:a.text=C(c[0])}a.article=t;var u=i.oldid,l=i.rcid,d=i.diff;null!=u&&(a.oldid=u),null!=l&&(a.rcid=l),null!=d&&(a.diff=d),a.text||'mainlink'===a.id||(a.text=C(a.id)),o.push(a)}else o.push(n[r]);return o}function Tt(e,t){return t.split('<'.concat(e,'>')).length-t.split('</'.concat(e,'>')).length}function R(e,t,i){for(var n=Rt(e,t,i),o='',r=0,a=0,s=0;s<n.length;++s)'string'==typeof n[s]?(o+=n[s].split('*').join(N('popupNavLinkSeparator')).split('<menurow>').join('<li class=\"popup_menu_row\">').split('</menurow>').join('</li>').split('<menu>').join('<ul class=\"popup_menu\">').split('</menu>').join('</ul>'),r+=Tt('menu',n[s]),a+=Tt('menurow',n[s])):void 0!==n[s].type&&'navlinkTag'===n[s].type&&(o+=0<r&&0===a?'<li class=\"popup_menu_item\">'.concat(n[s].html(),'</li>'):n[s].html());return o}function It(){this.type='navlinkTag'}function T(e){var t=window.event?window.event.keyCode:e.keyCode||e.which;if(t&&b.current.link&&b.current.link.navpopup){if(27===t)return le(),!1;var i,n,o=String.fromCharCode(t),r=b.current.link.navpopup.mainDiv.getElementsByTagName('A'),a=0;if(T.lastPopupLinkSelected)for(i=0;i<r.length;++i)r[i]===T.lastPopupLinkSelected&&(a=i);for(n=0;n<r.length;++n)if(r[i=(a+n+1)%r.length].getAttribute('popupkey')===o)return e&&e.preventDefault&&e.preventDefault(),r[i].trigger('focus'),T.lastPopupLinkSelected=r[i],!1;return!document.oldPopupOnkeypress||document.oldPopupOnkeypress(e)}}function Ht(){document.onkeypress!==T&&(document.oldPopupOnkeypress=document.onkeypress),document.onkeypress=T}function Et(){T.lastPopupLinkSelected=null;try{document.oldPopupOnkeypress&&document.oldPopupOnkeypress===T?document.onkeypress=null:document.onkeypress=document.oldPopupOnkeypress}catch(e){}}function Dt(e,t){var i,n,o;return N('popupShortcutKeys')?(i=e,n='popupkey=\"'.concat(t,'\"'),n=(o=i.indexOf('>'))<0?i:''.concat(i.substring(0,o),' ').concat(n).concat(i.substring(o)),' '===t&&(t=C('spacebar')),n.replace(RegExp('^(.*?)(title=\")(.*?)(\".*)$','i'),'$1$2$3 ['.concat(t,']$4'))):e}function Nt(e){if(e.owner&&e.owner.diffData){var t=e.owner;ae(t);var i=[];try{for(var n=y(e.data).query.pages,o=0;o<n.length;o++)i=i.concat(n[o].revisions);for(var r=0;r<i.length;r++)i[r].revid===t.diffData.oldRev.revid?t.diffData.oldRev.revision=i[r]:i[r].revid===t.diffData.newRev.revid&&(t.diffData.newRev.revision=i[r])}catch(e){v('Could not get diff')}var e=t,a=e.diffData.oldRev.revision.content.split('\\n'),s=e.diffData.newRev.revision.content.split('\\n'),p=Ct(a,s,N('popupDiffContextLines')),c=(a=p.a,s=p.b,!1);N('popupDiffMaxLines'),(a.length>b.option.popupDiffMaxLines||s.length>b.option.popupDiffMaxLines)&&(c=!0,a=(p=Ct(a.slice(0,b.option.popupDiffMaxLines),s.slice(0,b.option.popupDiffMaxLines),b.option.popupDiffContextLines)).a,s=p.b);var s=(a=function(e,t,i){var n=i;void 0===n&&(n=2);var o,r,a=[],s=[],p=[],c=[];for(o=0;o<e.length;++o)e[o].paired?function(e,t,i,n){if(!t[i].row&&0!==t[i].row)return 1;for(var o=0,r=0;r<e.length;++r)if((e[r].row||0===e[r].row)&&0<(r-t[i].row)*(i-e[r].row)){if(n)return 1;o++}return o}(t,e,o,!0)&&(a[o]=1,p[e[o].row]=1):a[o]=1;for(o=0;o<t.length;++o)1===p[o]||t[o].paired||(p[o]=1);for(o=0;o<t.length;++o)if(1===p[o])for(r=Math.max(0,o-n);r<Math.min(t.length,o+n);++r)p[r]||(p[r]=1,a[t[r].row]=.5);for(o=0;o<e.length;++o)if(1===a[o])for(r=Math.max(0,o-n);r<Math.min(e.length,o+n);++r)a[r]||(a[r]=1,p[e[r].row]=.5);for(o=0;o<p.length;++o)0<p[o]&&(t[o].paired?c.push(t[o].text):c.push(t[o]));for(o=0;o<a.length;++o)0<a[o]&&(e[o].paired?s.push(e[o].text):s.push(e[o]));return{a:s,b:c}}((p=St(a,s)).o,p.n)).a,p=a.b,a=!String.prototype.parenSplit.isNative,u='<hr />';N('popupDiffDates')&&(u=u+function(e){var t='<table class=\"popup_diff_dates\">';return t=(t+=_t(e.diffData.newRev.revision,_('New revision')))+_t(e.diffData.oldRev.revision,_('Old revision'))+'</table>'}(e)+'<hr />'),Ge((u+=function(e,t){for(var i=RegExp('(<del[\\\\s\\\\S]*?</del>|<ins[\\\\s\\\\S]*?</ins>)'),n=e.parenSplit(i),o=[''],r=0;r<n.length;r+=2)n[r].length<2*t?(o[o.length-1]+=n[r],r+1<n.length&&(o[o.length-1]+=n[r+1])):(0<r&&(o[o.length-1]+=n[r].substring(0,t)),r+1<n.length&&o.push(n[r].substring(n[r].length-t)+n[r+1]));for(;0<o.length&&!o[0];)o=o.slice(1);return o}(function(e,t,i){for(var n,o=RegExp('([[]{2}|[\\\\]]{2}|[{]{2,3}|[}]{2,3}|[|]|=|<|>|[*:]+|\\\\s|\\\\b)'),r=i?(n=e.split(/\\b/),t.split(/\\b/)):(n=e.parenSplit(o),t.parenSplit(o)),a=0;a<n.length;++a)n[a]=n[a].entify();for(a=0;a<r.length;++a)r[a]=r[a].entify();var s,p=St(n,r),c='',u=[],l=0;for(a=0;a<p.n.length;++a)p.n[a].paired&&(l>p.n[a].row&&(p.o[p.n[a].row]=p.o[p.n[a].ro",
    "w].text,p.n[a]=p.n[a].text),l<p.n[a].row)&&(l=p.n[a].row);for(a=0;a<p.o.length&&!p.o[a].paired;++a)u.push(p.o[a]);for(c+=kt(u),u=[],a=0;a<p.n.length;++a){for(;a<p.n.length&&!p.n[a].paired;)u.push(p.n[a++]);if(c+=(s=u).length?'<ins class=\\'popupDiff\\'>'.concat(s.join(''),'</ins>'):'',u=[],a<p.n.length){c+=p.n[a].text;for(var d=p.n[a].row+1;d<p.o.length&&!p.o[d].paired;)u.push(p.o[d++]);c+=kt(u),u=[]}}return c}(s.join('\\n'),p.join('\\n'),a),N('popupDiffContextCharacters')).join('<hr />')).split('\\n').join('<br>')+(c?'<hr /><b>'.concat(C('Diff truncated for performance reasons'),'</b>'):''),'popupPreview',e.idNumber)}}function Ct(e,t,i){for(var n=0;n<e.length&&n<t.length&&e[n]===t[n];)++n;for(var o=e.length-1,r=t.length-1;0<=o&&0<=r&&e[o]===t[r];)--o,--r;return{a:e.slice(Math.max(0,n-1-i),Math.min(e.length+1,o+i+1)),b:t.slice(Math.max(0,n-1-i),Math.min(t.length+1,r+i+1))}}function _t(e,t){var i,n='',o=new Date(e.timestamp);return o=o,n=et()?''.concat(rt(o),' ').concat(at(o)):'ISO 8601'===it()?(i=ot(o,f()),''.concat(l(r,[i.getFullYear(),i.getMonth()+1,i.getDate()]).join('-'),'T').concat(l(r,[i.getHours(),i.getMinutes(),i.getSeconds()]).join(':'))):((i=N('popupDateTimeFormatterOptions')).timeZone=f(),o.toLocaleString(tt(),i)),d('<tr><td>%s</td><td>%s</td></tr>',[Bt({url:''.concat(mw.config.get('wgScript'),'?oldid=').concat(e.revid),text:t,title:t}),n])}function At(e){return Mt({article:e.article,action:''.concat(e.to,'&oldid=').concat(e.from),newWin:e.newWin,noPopup:e.noPopup,text:e.text,title:e.title,actionName:'diff'})}function I(e){if(typeof e.article!=typeof{}||'string'!=typeof e.action||'string'!=typeof e.text)return null;void 0===e.oldid&&(e.oldid=null);var t=e.oldid,i=(/^(edit|view|revert|render)$|^raw/.test(e.action)||(e.oldid=null),C(''.concat(e.action,'Hint'))),n=[e.oldid,s(e.article)],o=_('revision %s of %s',n);switch(w('revisionString='.concat(o)),e.action){case'edit&section=new':i=C('newSectionHint');break;case'edit&undo=':e.diff&&'prev'!==e.diff&&t?e.action+=''.concat(e.diff,'&undoafter=').concat(t):t&&(e.action+=t),i=C('undoHint');break;case'raw&ctype=text/css':i=C('rawHint');break;case'revert':var r=Ne(b.current.link.href);e.action='edit&autoclick=wpSave&actoken='.concat(a(),'&autoimpl=').concat(C('autoedit_version'),'&autosummary=').concat(function(e,t){var i='';i=N('prev'===t?'popupQueriedRevertToPreviousSummary':'popupQueriedRevertSummary');return''.concat(i,'&autorv=').concat(e)}(e.oldid,r.diff)),'prev'===r.diff&&(e.action+='&direction=prev',o=_('the revision prior to revision %s of %s',n)),N('popupRevertSummaryPrompt')&&(e.action+='&autosummaryprompt=true'),N('popupMinorReverts')&&(e.action+='&autominor=true'),w('revisionString is now '.concat(o));break;case'nullEdit':e.action='edit&autoclick=wpSave&actoken='.concat(a(),'&autoimpl=').concat(C('autoedit_version'),'&autosummary=').concat(C('nullEditSummary'));break;case'historyfeed':e.action='history&feed=rss';break;case'markpatrolled':e.action='markpatrolled&rcid='.concat(e.rcid)}return i=i?e.oldid?d(i,[o]):d(i,[s(e.article)]):s(''.concat(e.article,'&action=').concat(e.action))+e.oldid?'&oldid='.concat(e.oldid):'',Mt({article:e.article,action:e.action,text:e.text,newWin:e.newWin,title:i,oldid:e.oldid,noPopup:e.noPopup,onclick:e.onclick})}function Mt(e){var t,i;return void 0===e.article||void 0===e.action?(v('got undefined article or action in titledWikiLink'),null):(t=i=b.wiki.titlebase+e.article.urlString(),void 0!==e.actionName&&e.actionName||(e.actionName='action'),'view'!==e.action&&(t=''.concat(i,'&').concat(e.actionName,'=').concat(e.action)),'edit'===e.action&&(t+='&wpChangeTags=Popups%2CAutomation%20tool'),void 0!==e.oldid&&e.oldid&&(t+='&oldid='.concat(e.oldid)),i=b.misc.defaultNavlinkClassname,void 0!==e.className&&e.className&&(i=e.className),E({url:t,newWin:e.newWin,title:void 0!==e.title?e.title:null,text:void 0!==e.text?e.text:null,className:i,noPopup:e.noPopup,onclick:e.onclick}))}function jt(e,t){t?window.open(e):document.location=e}function Ot(e,t){for(var i=0;b.current.links&&i<b.current.links.length;++i)b.current.links[i].navpopup&&((e||t)&&b.current.links[i].navpopup.banish(),b.current.links[i].simpleNoMore=!1,e)&&(b.current.links[i].navpopup=null)}function Wt(e){return e.onclick=d('pg.fn.modifyWatchlist(\\'%s\\',\\'%s\\');return false;',[e.article.toString(!0).split('\\\\').join('\\\\\\\\').split('\\'').join('\\\\\\''),this.id]),I(e)}function Ft(e){var t='',i='';switch(e.id){case'lastContrib':i=d('pg.fn.getLastContrib(\\'%s\\',%s)',[e.article.toString(!0).split('\\\\').join('\\\\\\\\').split('\\'').join('\\\\\\''),e.newWin]),t=C('lastContribHint');break;case'sinceMe':i=d('pg.fn.getDiffSinceMyEdit(\\'%s\\',%s)',[e.article.toString(!0).split('\\\\').join('\\\\\\\\').split('\\'').join('\\\\\\''),e.newWin]),t=C('sinceMeHint')}return E({url:'javascript:'.concat(i),newWin:!1,title:t,text:e.text,noPopup:e.noPopup,onclick:i+=';return false;'})}function $t(e){var t=d('javascript:pg.fn.%s()',[e.id]),i=C(d('%sHint',[e.id])),n=d('pg.fn.%s();return false;',[e.id]);return E({url:t,newWin:!1,title:i,text:e.text,noPopup:e.noPopup,onclick:n})}function H(e){if(void 0===e.specialpage||!e.specialpage)return null;var t=''.concat(b.wiki.titlebase+mw.config.get('wgFormattedNamespaces')[b.nsSpecialId],':').concat(e.specialpage),i=(void 0!==e.sep&&null!==e.sep||(e.sep='&target='),e.article.urlString({keepSpaces:'Search'===e.specialpage})),n=C(''.concat(e.specialpage,'Hint'));switch(e.specialpage){case'Log':switch(e.sep){case'&user=':n=C('userLogHint');break;case'&type=block&page=':n=C('blockLogHint');break;case'&page=':n=C('pageLogHint');break;case'&type=protect&page=':n=C('protectLogHint');break;case'&type=delete&page=':n=C('deleteLogHint');break;default:w('Unknown log type, sep='.concat(e.sep)),n='Missing hint (FIXME)'}break;case'PrefixIndex':i+='/'}n=n?d(n,[s(e.article)]):s(''.concat(e.specialpage,':').concat(e.article));return E({url:t+e.sep+i,title:n,text:e.text,newWin:e.newWin,noPopup:e.noPopup})}function Bt(e){var t;return void 0===e.url?null:(t=e.url.split('\"').join('%22'),t='<a href=\"'.concat(t,'\"'),void 0!==e.title&&e.title&&(t+=' title=\"'.concat(b.escapeQuotesHTML(e.title),'\"')),void 0!==e.onclick&&e.onclick&&(t+=' onclick=\"'.concat(b.escapeQuotesHTML(e.onclick),'\"')),e.noPopup&&(t+=' noPopup=1'),(void 0===e.newWin||null===e.newWin?N('popupNewWindows'):e.newWin)&&(t+=' target=\"_blank\"'),void 0!==e.className&&e.className&&(t+=' class=\"'.concat(e.className,'\"')),t+='>','string'==typeof e.text&&(t+=b.escapeQuotesHTML(b.unescapeQuotesHTML(e.text))),t+'</a>')}function zt(e){e.newTarget&&w('changeLinkTargetLink: newTarget='.concat(e.newTarget)),e.oldTarget!==decodeURIComponent(e.oldTarget)&&w('This might be an input problem: '.concat(e.oldTarget));var t,i,n=mw.util.escapeRegExp(e.oldTarget),o=n.charAt(0).toUpperCase(),o=(o=(o='['.concat(o).concat(o.toLowerCase(),']'))+n.substring(1)).split(RegExp('(?:[_ ]+|%20)','g')).join('(?:[_ ]+|%20)').split('\\\\(').join('(?:%28|\\\\()').split('\\\\)').join('(?:%29|\\\\))'),n=(o='\\\\s*('.concat(o,'(?:#[^\\\\[\\\\|]*)?)\\\\s*'),e.title||mw.config.get('wgPageName').split('_').join(' ')),n=Mt({article:new k(n),newWin:e.newWin,action:'edit',text:e.text,title:e.hint,className:'popup_change_title_link'}),r='';return r=e.newTarget?(t=e.newTarget,i=mw.util.escapeRegExp(e.newTarget),e.alsoChangeLabel?(r=(r+='s~\\\\[\\\\['.concat(o,'\\\\]\\\\]~[[').concat(t,']]~g;'))+'s~\\\\[\\\\['.concat(o,'[|]~[[').concat(t,'|~g;'))+'s~\\\\[\\\\['.concat(i,'\\\\|').concat(i,'\\\\]\\\\]~[[').concat(t,']]~g'):(r=(r+='s~\\\\[\\\\['.concat(o,'\\\\]\\\\]~[[').concat(t,'|$1]]~g;'))+'s~\\\\[\\\\['.concat(o,'[|]~[[').concat(t,'|~g;'))+'s~\\\\[\\\\['.concat(i,'\\\\|').concat(i,'\\\\]\\\\]~[[').concat(t,']]~g')):(r+='s~\\\\[\\\\['.concat(o,'\\\\]\\\\]~$1~g;'))+'s~\\\\[\\\\['.concat(o,'[|](.*?)\\\\]\\\\]~$2~g'),r='autoedit='.concat(encodeURIComponent(r)),r=(r=(r=(r=(r+='&autoclick='.concat(encodeURIComponent(e.clickButton),'&actoken=').concat(encodeURIComponent(a())))+(null===e.minor?'':'&autominor='.concat(encodeURIComponent(e.minor))))+(null===e.watch?'':'&autowatch='.concat(encodeURIComponent(e.watch))))+'&autosummary='.concat(encodeURIComponent(e.summary)))+'&autoimpl='.concat(encodeURIComponent(C('autoedit_version'))),i=r,(t=(t=n).parenSplit(RegExp('(href=\"[^\"]+?)\"','i'))).length<2?null:(o=t.shift()+t.shift(),(o+='&'.concat(i,'\"'))+t.join(''))}function qt(e){var t;return Qt(e)&&e.article.isIpUser()&&b.wiki.wikimedia?(t=e.article.userName(),E({url:'http://ws.arin.net/cgi-bin/whois.pl?queryinput='.concat(encodeURIComponent(t)),newWin:e.newWin,title:_('Look up %s in ARIN whois database',[t]),text:e.text,noPopup:1})):null}function Qt(e){return typeof e.article==typeof{}&&'string'==typeof e.text}function Vt(e){var t,i,n,o;return Qt(e)&&b.wiki.wikimedia?(t=e.article.userName(),o=N('popupEditCounterTool'),i='https://xtools.wmflabs.org/ec?user=$1&project=$2.$3&uselang='.concat(mw.config.get('wgUserLanguage')),E({url:'custom'===o?d(N('popupEditCounterUrl'),[encodeURIComponent(t),(o=mw.config.get('wgDBname'),n||(o+='_p'),o)]):(n=b.wiki.hostname.split('.'),d(i,[encodeURIComponent(t),n[0],n[1]])),title:_('editCounterLinkHint',[t]),newWin:e.newWin,text:e.text,noPopup:1})):null}function Gt(e){return Qt(e)?E({url:'https://global-search.toolforge.org/?uselang='.concat(mw.config.get('wgUserLanguage'),'&q=')+e.article.urlString({keepSpaces:!0}),newWin:e.newWin,title:_('globalSearchHint',[s(e.article)]),text:e.text,noPopup:1}):null}function Kt(e){var t;return Qt(e)?(t=e.article.urlString({keepSpaces:!0}),E({url:''.concat('https://www.google.com/search?q=','%22').concat(t,'%22'),newWin:e.newWin,title:_('googleSearchHint',[s(e.article)]),text:e.text,noPopup:1})):null}function Zt(e){var t;return Qt(e)?(t=e.article.articleFromTalkPage()||e.article,E({url:'https://xtools.wmflabs.org/articleinfo/'.concat(encodeURI(b.wiki.hostname),'/').concat(t.urlString(),'?uselang=').concat(mw.config.get('wgUserLanguage')),title:_('editorListHint',[t]),newWin:e.newWin,text:e.text,noPopup:1})):null}function E(e){return e.className=null===e.className?'popupNavLink':e.className,Bt(e)}function Xt(e,t){w('getHistoryInfo');var i=t?function(e){t(Yt(e))}:Yt;w('getHistory'),e=''.concat(b.wiki.apiwikibase,'?format=json&formatversion=2&action=query&prop=revisions&titles=').concat(new k(e).urlString(),'&rvlimit=').concat(N('popupHist",
    "oryLimit')),w('getHistory: url='.concat(e)),Se(e,''.concat(b.idNumber,'history'),i)}function Yt(e){e=y(e.data);try{for(var t=L(e.query.pages).revisions,i=[],n=0;n<t.length;++n)i.push({oldid:t[n].revid,editor:t[n].user});return w('processed '.concat(i.length,' edits')),Jt(i,mw.config.get('wgUserName'))}catch(e){return w('Something went wrong with JSON business'),Jt([])}}function Jt(e,t){var i={};i.edits=e,i.userName=t;for(var n=0;n<e.length;++n)void 0===i.myLastEdit&&t&&e[n].editor===t&&(i.myLastEdit={index:n,oldid:e[n].oldid,previd:0===n?null:e[n-1].oldid}),void 0===i.firstNewEditor&&e[n].editor!==e[0].editor&&(i.firstNewEditor={index:n,oldid:e[n].oldid,previd:0===n?null:e[n-1].oldid});return i}function D(e,t){b.optionDefault[e]=t}function N(e){var t;return t=e,null!==b.option[t]&&void 0!==b.option[t]||(void 0!==window[t]?b.option[t]=window[t]:b.option[t]=b.optionDefault[t]),b.option[e]}function C(e){return void 0!==q&&q&&q[e]?q[e]:(t.has(e)||'string'==typeof e&&(e.includes('&autoimpl=np20140416&actoken=')||e.endsWith('Hint'))||(t.add(e),console.info('popupNoTranslation',t)),e)}function _(e,t){t=typeof t!=typeof[]?[t]:t;return d(C(e),t)}function ei(){ve(),Ut()}function ti(i){'mw-content-text'===i.attr('id')&&z?z=!1:Ut(function(){for(var e=0;b.current.links&&e<b.current.links.length;++e){var t=b.current.links[e].navpopup;t&&t.isVisible()&&c.tracker.addHook(Xe(t))}i.each(function(){this.ranSetupTooltipsAlready=!1,Q(this)})})}(!window.pg||window.pg instanceof HTMLElement)&&(window.pg=b,mw.util.escapeRegExp||(mw.util.escapeRegExp=mw.RegExp.escape),w=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return window.popupDebug&&console.log.apply(console,__spreadArray([],__read(e),!1))},v=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return window.popupDebug&&console.error.apply(console,__spreadArray([],__read(e),!1))},e.prototype.fixE=function(e){return void 0===(e=void 0===e?window.event:e).layerX&&(e.layerX=e.offsetX),void 0===e.layerY&&(e.layerY=e.offsetY),e},e.prototype.init=function(e,t){var i=this;(this.obj=e).onmousedown=function(e){i.start.bind(i)(e)},e.dragging=!1,e.popups_draggable=!0,e.hmode=!0,e.vmode=!0,e.root=t||e,isNaN(parseInt(e.root.style.left,10))&&(e.root.style.left='0px'),isNaN(parseInt(e.root.style.top,10))&&(e.root.style.top='0px'),e.root.onthisStart=function(){},e.root.onthisEnd=function(){},e.root.onthis=function(){}},e.prototype.start=function(e){var t,i,n,o=this.obj,e=this.fixE(e);if(!this.startCondition||this.startCondition(e))return t=parseInt(o.vmode?o.root.style.top:o.root.style.bottom,10),i=parseInt(o.hmode?o.root.style.left:o.root.style.right,10),o.root.onthisStart(i,t),o.lastMouseX=e.clientX,o.lastMouseY=e.clientY,n=this,o.onmousemoveDefault=document.onmousemove,o.dragging=!0,document.onmousemove=function(e){n.drag.bind(n)(e)},!(document.onmouseup=function(e){n.end.bind(n)(e)})},e.prototype.drag=function(e){var e=this.fixE(e),t=this.obj,i=e.clientY,e=e.clientX,n=parseInt(t.vmode?t.root.style.top:t.root.style.bottom,10),o=parseInt(t.hmode?t.root.style.left:t.root.style.right,10)+(e-t.lastMouseX)*(t.hmode?1:-1),n=n+(i-t.lastMouseY)*(t.vmode?1:-1);return this.obj.root.style[t.hmode?'left':'right']=''.concat(o,'px'),this.obj.root.style[t.vmode?'top':'bottom']=''.concat(n,'px'),this.obj.lastMouseX=e,this.obj.lastMouseY=i,this.obj.root.onthis(o,n),!1},e.prototype.end=function(){document.onmousemove=this.obj.onmousemoveDefault,document.onmouseup=null,this.obj.dragging=!1,this.endHook&&this.endHook(parseInt(this.obj.root.style[this.obj.hmode?'left':'right'],10),parseInt(this.obj.root.style[this.obj.vmode?'top':'bottom'],10))},A=e,b.structures.original={},b.structures.original.popupLayout=function(){return['popupError','popupImage','popupTopLinks','popupTitle','popupUserData','popupData','popupOtherLinks','popupRedir',['popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks'],'popupMiscTools',['popupRedlink'],'popupPrePreviewSep','popupPreview','popupSecondPreview','popupPreviewMore','popupPostPreview','popupFixDab']},b.structures.original.popupRedirSpans=function(){return['popupRedir','popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks']},b.structures.original.popupTitle=function(e){return w('defaultstructure.popupTitle'),N('popupNavLinks')?'':R('<b><<mainlink>></b>',e.article,e.params)},b.structures.original.popupTopLinks=function(e){var t;return w('defaultstructure.popupTopLinks'),N('popupNavLinks')?(t=e.article,e.hint,e=e.params,R('<span class=\"popupNavLinks\">'.concat(function(){var e='';e+='<b><<mainlink|shortcut= >></b>',N('popupLastEditLink')&&(e+='*<<lastEdit|shortcut=/>>|<<lastContrib>>|<<sinceMe>>if(oldid){|<<oldEdit>>|<<diffCur>>}');e=(e+='if(user){<br><<contribs|shortcut=c>>*<<userlog|shortcut=L|log>>')+'if(ipuser){*<<arin>>}if(wikimedia){*<<count|shortcut=#>>}if(ipuser){}else{*<<email|shortcut=E>>}if(admin){*<<block|shortcut=b>>|<<blocklog|log>>}}';var t='if(oldid){<<editOld|shortcut=e>>|<<revert|shortcut=v|rv>>|<<edit|cur>>}else{'.concat('<<edit|shortcut=e>>','}'),i='<<history|shortcut=h>>|<<editors|shortcut=E|>>',n='<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>';return e=(e+='<br>if(talk){'.concat(t,'|<<new|shortcut=+>>*').concat(i,'*').concat(n,'*<b><<article|shortcut=a>></b>|<<editArticle|edit>>}else{').concat(t,'*').concat(i,'*').concat(n,'*<b><<talk|shortcut=t>></b>|<<editTalk|edit>>|<<newTalk|shortcut=+|new>>}'))+'<br><<whatLinksHere|shortcut=l>>*<<relatedChanges|shortcut=r>>*<<move|shortcut=m>>if(admin){<br><<unprotect|unprotectShort>>|<<protect|shortcut=p>>|<<protectlog|log>>*<<undelete|undeleteShort>>|<<delete|shortcut=d>>|<<deletelog|log>>}'}(),'</span>'),t,e)):''},b.structures.original.popupImage=function(e){return w('original.popupImage, x.article='.concat(e.article,', x.navpop.idNumber=').concat(e.navpop.idNumber)),e.article,d('<a id=\"popupImageLink$1\"><img align=\"right\" valign=\"top\" id=\"popupImg$1\" style=\"display: none;\"></img></a>',[e.navpop.idNumber])},b.structures.original.popupRedirTitle=b.structures.original.popupTitle,b.structures.original.popupRedirTopLinks=b.structures.original.popupTopLinks,de('original','nostalgia'),b.structures.nostalgia.popupTopLinks=function(e){var t='',i=(t=(t=t+'<b><<mainlink|shortcut= >></b>'+'if(user){<br><<contribs|shortcut=c>>')+'if(wikimedia){*<<count|shortcut=#>>}'+'if(ipuser){}else{*<<email|shortcut=E>>}if(admin){*<<block|shortcut=b>>}}','if(oldid){<<editOld|shortcut=e>>|<<revert|shortcut=v|rv>>|<<edit|cur>>}else{'.concat('<<edit|shortcut=e>>','}')),n='<<history|shortcut=h>>',o='<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>';return R(t=(t=t+'<br>if(talk){'.concat(i,'|<<new|shortcut=+>>*').concat(n,'*').concat(o,'*<b><<article|shortcut=a>></b>|<<editArticle|edit>>}else{').concat(i,'*').concat(n,'*').concat(o,'*<b><<talk|shortcut=t>></b>|<<editTalk|edit>>|<<newTalk|shortcut=+|new>>}')+'<br><<whatLinksHere|shortcut=l>>*<<relatedChanges|shortcut=r>>')+'if(admin){<br>}else{*}<<move|shortcut=m>>'+'if(admin){*<<unprotect|unprotectShort>>|<<protect|shortcut=p>>*<<undelete|undeleteShort>>|<<delete|shortcut=d>>}',e.article,e.params)},b.structures.nostalgia.popupRedirTopLinks=b.structures.nostalgia.popupTopLinks,de('original','fancy'),b.structures.fancy.popupTitle=function(e){return R('<font size=+0><<mainlink>></font>',e.article,e.params)},b.structures.fancy.popupTopLinks=function(e){var t='<<history|shortcut=h|hist>>|<<lastEdit|shortcut=/|last>>|<<editors|shortcut=E|eds>>',i='<<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>>',n='<<move|shortcut=m|move>>';return R('if(talk){<<edit|shortcut=e>>|<<new|shortcut=+|+>>*'.concat(t,'*<<article|shortcut=a>>|<<editArticle|edit>>*').concat(i,'*').concat(n,'}else{<<edit|shortcut=e>>*').concat(t,'*<<talk|shortcut=t|>>|<<editTalk|edit>>|<<newTalk|shortcut=+|new>>*').concat(i,'*').concat(n,'}<br>'),e.article,e.params)},b.structures.fancy.popupOtherLinks=function(e){var t='<<contribs|shortcut=c>>if(wikimedia){|<<count|shortcut=#|#>>}';t+='if(ipuser){|<<arin>>}else{*<<email|shortcut=E|'.concat(C('email'),'>>}if(admin){*<<block|shortcut=b>>}');return R('<br>if(user){'.concat(t,'*}if(admin){').concat('<<unprotect|unprotectShort>>|<<protect|shortcut=p>>*<<undelete|undeleteShort>>|<<delete|shortcut=d|del>>','if(user){<br>}else{*}}').concat('<<whatLinksHere|shortcut=l|links here>>*<<relatedChanges|shortcut=r|related>>'),e.article,e.params)},b.structures.fancy.popupRedirTitle=b.structures.fancy.popupTitle,b.structures.fancy.popupRedirTopLinks=b.structures.fancy.popupTopLinks,b.structures.fancy.popupRedirOtherLinks=b.structures.fancy.popupOtherLinks,de('fancy','fancy2'),b.structures.fancy2.popupTopLinks=function(e){return'<br>'.concat(b.structures.fancy.popupTopLinks(e).replace(RegExp('<br>$','i'),''))},b.structures.fancy2.popupLayout=function(){return['popupError','popupImage','popupTitle','popupUserData','popupData','popupTopLinks','popupOtherLinks','popupRedir',['popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks'],'popupMiscTools',['popupRedlink'],'popupPrePreviewSep','popupPreview','popupSecondPreview','popupPreviewMore','popupPostPreview','popupFixDab']},de('original','menus'),b.structures.menus.popupLayout=function(){return['popupError','popupImage','popupTopLinks','popupTitle','popupOtherLinks','popupRedir',['popupWarnRedir','popupRedirTopLinks','popupRedirTitle','popupRedirData','popupRedirOtherLinks'],'popupUserData','popupData','popupMiscTools',['popupRedlink'],'popupPrePreviewSep','popupPreview','popupSecondPreview','popupPreviewMore','popupPostPreview','popupFixDab']},b.structures.menus.popupTopLinks=function(e,t){var i=[],n='<div class=\"popup_drop\">',o='</div>',r='<<history|shortcut=h>>',a=(t||(r='<menurow>'.concat(r,'|<<historyfeed|rss>>|<<editors|shortcut=E>></menurow>')),'if(admin){'.concat('<menurow><<unprotect|unprotectShort>>|<<protect|shortcut=p>>|<<protectlog|log>></menurow>').concat('<menurow><<undelete|undeleteShort>>|<<delete|shortcut=d>>|<<deletelog|log>></menurow>','}')),r=(N('popupActionsMenu')?i.push('<<mainlink>>*'.concat(n).concat(he('actions'))):i.push(''.concat(n,'<<mainlink>>')),i.push('<menu>'),i.push('if(oldid){<me",
    "nurow><<edit|shortcut=e>>|<<editOld|shortcut=e|this&nbsp;revision>></menurow><menurow><<revert|shortcut=v>>|<<undo>></menurow>}else{<<edit|shortcut=e>>}if(rcid){<<markpatrolled|mark patrolled>>}if(talk){<<new|shortcut=+|new topic>>}'+r+'<<lastEdit|shortcut=/|show last edit>>if(diff){<<thank|send thanks>>}'),t||i.push('<<lastContrib|last set of edits>><<sinceMe|changes since mine>>'),i.push('<<move|shortcut=m|move page>><<whatLinksHere|shortcut=l|what links here>><<relatedChanges|shortcut=r|related changes>>'),t||i.push('<menurow><<nullEdit|shortcut=n|null edit>>|<<purge|shortcut=P>></menurow><menurow><<search|shortcut=s>>if(wikimedia){|<<globalsearch|shortcut=g|global>>}|<<google|shortcut=G|web>></menurow>'),t||i.push('<menurow><<view|shortcut=v>>|<<render|shortcut=S>>|<<raw>></menurow>'),i.push('<hr />'.concat('<menurow><<unwatch|unwatchShort>>|<<watch|shortcut=w|watchThingy>></menurow>').concat(a)),i.push('<hr />if(talk){<<article|shortcut=a|view article>><<editArticle|edit article>>}else{<<talk|shortcut=t|talk page>><<editTalk|edit talk>><<newTalk|shortcut=+|new topic>>}</menu>'.concat(o)),'<<email|shortcut=E|email user>>');return i.push('if(user){*'.concat(n).concat(he('user'))),i.push('<menu>'),i.push('<menurow><<userPage|shortcut=u|user&nbsp;page>>|<<userSpace|space>></menurow>'),i.push('<<userTalk|shortcut=t|user talk>><<editUserTalk|edit user talk>><<newUserTalk|shortcut=+|leave comment>>'),i.push((t?'if(ipuser){}else{':'if(ipuser){<<arin>>}else{').concat(r,'}')),i.push('<hr />'.concat('if(wikimedia){<menurow>}<<contribs|shortcut=c|contributions>>if(wikimedia){</menurow>}if(admin){<menurow><<deletedContribs>></menurow>}','<<userlog|shortcut=L|user log>>')),i.push('if(wikimedia){<<count|shortcut=#|edit counter>>}'),i.push('if(admin){<menurow><<unblock|unblockShort>>|<<block|shortcut=b|block user>></menurow>}'),i.push('<<blocklog|shortcut=B|block log>>'),i.push('</menu>'.concat(o,'}')),N('popupSetupMenu')&&!e.navpop.hasPopupMenu&&(e.navpop.hasPopupMenu=!0,i.push('*'.concat(n).concat(he('popupsMenu'),'<menu>')),i.push('<<togglePreviews|toggle previews>>'),i.push('<<purgePopups|reset>>'),i.push('<<disablePopups|disable>>'),i.push('</menu>'.concat(o))),R(i.join(''),e.article,e.params)},b.structures.menus.popupRedirTitle=b.structures.menus.popupTitle,b.structures.menus.popupRedirTopLinks=b.structures.menus.popupTopLinks,de('menus','shortmenus'),b.structures.shortmenus.popupTopLinks=function(e){return b.structures.menus.popupTopLinks(e,!0)},b.structures.shortmenus.popupRedirTopLinks=b.structures.shortmenus.popupTopLinks,b.structures.lite={},b.structures.lite.popupLayout=function(){return['popupTitle','popupPreview']},b.structures.lite.popupTitle=function(e){return w(''.concat(e.article,': structures.lite.popupTitle')),'<div><span class=\"popup_mainlink\"><b>'.concat(e.article.toString(),'</b></span></div>')},i.prototype.send=function(e){return this.http?this.http.send(e):null},i.prototype.abort=function(){return this.http?(this.aborted=!0,this.http.abort()):null},i.prototype.getData=function(){return this.http?this.http.responseText:null},i.prototype.setTarget=function(){if(!this.http)return null;this.http.open(this.method,this.url,this.async),this.http.setRequestHeader('Api-User-Agent',b.api.userAgent)},i.prototype.getReadyState=function(){return this.http?this.http.readyState:null},i.prototype.start=function(){this.http&&(b.misc.downloadsInProgress[this.id]=this).http.send(null)},i.prototype.getLastModifiedDate=function(){if(!this.http)return null;var e=null;try{e=this.http.getResponseHeader('Last-Modified')}catch(e){}return e?new Date(e):null},i.prototype.setCallback=function(e){this.http&&(this.http.onreadystatechange=e)},i.prototype.getStatus=function(){return this.http?this.http.status:null},M=i,b.misc.downloadsInProgress={},(S={}).dump=function(e,t){'string'==typeof e&&(e=document.getElementById(e)),(t='string'==typeof t?document.getElementById(t):t).innerHTML=this.convert(e.value)},S.convert=function(e){var c,u='string'==typeof e?e.replace(/\\r/g,'').split(/\\n/):e,t='',i=0;function l(){return u.length}function d(){return u.shift()}function h(e){t+=e}function g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n,o=1,r=e[0],a='';o<e.length&&(n=r.indexOf('?'))+1;o++)o-=i='?'===r.charAt(n+1)?1:0,a+=r.substring(0,n)+(i?'?':e[o]),r=r.substr(n+1+i);return a+r}function f(e){return e.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;')}function m(e){return e.replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/:/g,'&#58;').replace(/\\[/g,'&#91;').replace(/]/g,'&#93;')}function w(e){return m(e).replace(/'/g,'&#39;').replace(/\"/g,'&quot;')}function v(e){return'string'==typeof e?u[0]&&u[0].substr(0,e.length)===e:c=u[0]&&u[0].match(e)}function r(e){return u[0].charAt(e)}function n(e){h(e),d()}function o(){for(var e='';l()&&v(/^([*#:;]+)(.*)$/);){for(var t=c,i=(d(),function(e,t){for(var i=Math.min(e.length,t.length),n=0;n<i&&e.charAt(n)===t.charAt(n);n++);return n}(e,t[1])),n=e.length-1;i<=n;n--){var o=e.charAt(n);'*'===o?h('</ul>'):'#'===o?h('</ol>'):$.inArray(t[1].charAt(n),['','*','#'])&&h('</dl>')}for(var r=i;r<t[1].length;r++){var a=t[1].charAt(r);'*'===a?h('<ul>'):'#'===a?h('<ol>'):$.inArray(e.charAt(r),['','*','#'])&&h('<dl>')}switch(t[1].charAt(t[1].length-1)){case'*':case'#':h('<li>'.concat(b(t[2])));break;case';':h('<dt>');var s=t[2].match(/(.*?)(:.*?)$/);s?(h(b(s[1])),u.unshift(s[2])):h(b(t[2]));break;case':':h('<dd>'.concat(b(t[2])))}e=t[1]}for(var p=e.length-1;0<=p;p--)h(g('</?>','*'===e.charAt(p)?'ul':'#'===e.charAt(p)?'ol':'dl'))}function a(){var e,t,i=d().match(/^(\\|\\+|\\||!)((?:([^[|]*?)\\|(?!\\|))?(.*))$/);if('|+'===i[1]?h('<caption'):h('<t'.concat('|'===i[1]?'d':'h')),t=void 0!==i[3]?4:2,h('>'),'|+'!==i[1])for(h(b((e=i[t].split('|'===i[1]?'||':/(?:\\|\\||!!)/)).shift()));e.length;)u.unshift(i[1]+e.pop());else h(b(i[t]));for(var n=0,o=[];l();)if(o.push(d()),v('|')){if(!n)break;'}'===r(1)&&n--}else{if(!n&&v('!'))break;v('{|')&&n++}o.length&&h(S.convert(o))}function k(e){var t=e.substring(e.indexOf(':')+1,e.length-2),e=[];if(t.match(/\\|/)){for(var i=0,n=void 0,o=t.length-1;0<o;o--){if('|'===t.charAt(o)&&!i){n=t.substr(o+1),t=t.substring(0,o);break}switch(t.substr(o-1,2)){case']]':i++,o--;break;case'[[':i--,o--}}e.length=0,e.push.apply(e,__spreadArray([],__read(t.split(/\\s*\\|\\s*/)),!1)),e.push(n)}return''}function b(e){for(var t,i,n,o,r=0,a=0,s=0,p='';-1!==(t=e.indexOf('<nowiki>',a));){p+=y(e.substring(r,t)),a=t+=8,o=!0;do{if(i=e.indexOf('<nowiki>',a),(n=e.indexOf('</nowiki>',a))<=i||-1===i){if(-1===n)return p+f(e.substr(t));a=n+9,s?s--:(r=a,p+=f(e.substring(t,r-9)),o=!1)}else a=i+8,s++}while(o)}return p+y(e.substr(r))}function y(e){e=(e=function(e){for(var t,i,n,o,r,a=e,s=0,p=0;-1!==(t=a.indexOf('[[',s))&&a.substr(t+2).match(RegExp('^(Image|File|'.concat(S.conf.locale.image,'):'),'i'));){i=!0,s=t;do{if(s+=2,(o=a.indexOf(']]',s))<=(n=a.indexOf('[[',s))||-1===n){if(-1===o)return a;s=o,p?p--:(r=k(o=a.substring(t,o+2)),a=a.replace(o,r),s=t+r.length,i=!1)}else s=n,p++}while(i)}return a}(e)).replace(/<(?:)math>(.*?)<\\/math>/gi,'');for(var t,i,n,o,r=new Date,a=r.getUTCMinutes(),s=(a<10&&(a='0'.concat(a)),r=g('?:?, ? ? ? (UTC)',r.getUTCHours(),a,r.getUTCDate(),S.conf.locale.months[r.getUTCMonth()],r.getUTCFullYear()),e=e.replace(/~{5}(?!~)/g,r).replace(/~{4}(?!~)/g,''.concat(S.conf.user.name,' ').concat(r)).replace(/~{3}(?!~)/g,S.conf.user.name).replace(RegExp('\\\\[\\\\[:((?:'.concat(S.conf.locale.category,'|Image|File|').concat(S.conf.locale.image,'|').concat(S.conf.wiki.interwiki,'):[^|]*?)\\\\]\\\\](\\\\w*)'),'gi'),function(e,t,i){return g('<a href=\\'?\\'>?</a>',S.conf.paths.articles+w(t),m(t)+m(i))}).replace(RegExp('\\\\[\\\\[(?:'.concat(S.conf.locale.category,'|').concat(S.conf.wiki.interwiki,'):.*?\\\\]\\\\]'),'gi'),'').replace(RegExp('\\\\[\\\\[:((?:'.concat(S.conf.locale.category,'|Image|File|').concat(S.conf.locale.image,'|').concat(S.conf.wiki.interwiki,'):.*?)\\\\|([^\\\\]]+?)\\\\]\\\\](\\\\w*)'),'gi'),function(e,t,i,n){return g('<a href=\\'?\\'>?</a>',S.conf.paths.articles+w(t),m(i)+m(n))}).replace(/\\[\\[(\\/[^|]*?)\\]\\]/g,function(e,t){return g('<a href=\\'?\\'>?</a>',S.conf.baseUrl+w(t),m(t))}).replace(/\\[\\[(\\/.*?)\\|(.+?)\\]\\]/g,function(e,t,i){return g('<a href=\\'?\\'>?</a>',S.conf.baseUrl+w(t),m(i))}).replace(/\\[\\[([^[|]*?)\\]\\](\\w*)/g,function(e,t,i){return g('<a href=\\'?\\'>?</a>',S.conf.paths.articles+w(t),m(t)+m(i))}).replace(/\\[\\[([^[]*?)\\|([^\\]]+?)\\]\\](\\w*)/g,function(e,t,i,n){return g('<a href=\\'?\\'>?</a>',S.conf.paths.articles+w(t),m(i)+m(n))}).replace(/\\[\\[([^\\]]*?:)?(.*?)( *\\(.*?\\))?\\|\\]\\]/g,function(e,t,i,n){return g('<a href=\\'?\\'>?</a>',S.conf.paths.articles+w(t)+w(i)+w(n),m(i))}).replace(/\\[(https?|news|ftp|mailto|gopher|irc):(\\/*)([^\\]]*?) (.*?)\\]/g,function(e,t,i,n,o){return g('<a class=\\'external\\' href=\\'?:?\\'>?</a>',w(t),w(i)+w(n),m(o))}).replace(/\\[http:\\/\\/(.*?)\\]/g,function(e,t){return g('<a class=\\'external\\' href=\\'http://?\\'>[#]</a>',w(t))}).replace(/\\[(news|ftp|mailto|gopher|irc):(\\/*)(.*?)\\]/g,function(e,t,i,n){return g('<a class=\\'external\\' href=\\'?:?\\'>?:?</a>',w(t),w(i)+w(n),m(t),m(i)+m(n))}).replace(/(^| )(https?|news|ftp|mailto|gopher|irc):(\\/*)([^ $]*[^.,!?;: $])/g,function(e,t,i,n,o){return g('?<a class=\\'external\\' href=\\'?:?\\'>?:?</a>',m(t),w(i),w(n)+w(o),m(i),m(n)+m(o))}).replace('__NOTOC__','').replace('__NOINDEX__','').replace('__INDEX__','').replace('__NOEDITSECTION__','')),p='';(n=s.indexOf('\\'\\'',o))+1;)p+=s.substring(o,n),'\\''===s.charAt(o=n+2)?(o++,p+=(i=!i)?'<strong>':'</strong>'):p+=(t=!t)?'<em>':'</em>';return p+s.substr(o)}for(;l();)if(v(/^(={1,6})(.*)\\1(.*)$/))i=0,n(g('<h?>?</h?>?',c[1].length,b(c[2]),c[1].length,c[3]));else if(v(/^[*#:;]/))i=0,o();else if(v(' ')){for(i=0,h('<pre>');n(''.concat(b(u[0].substring(1)),'\\n')),l()&&v(' '););h('</pre>')}else v('{|')?(i=0,function(){for(n(g('<table>',v(/^\\{\\|( .*)$/)?c[1]:''));l();)if(v('|'))switch(r(1)){case'}':return n('</table>');case'-':n(g('<tr>',v(/\\|-*(.*)/)[1]));break;default:a()}else(v('!')?a:d)()}()):v(/^----+$/)?(i=0,n('<hr />')):v(S.BLOCK_IMAGE)?(i=0,h(k(d()))):(''===u[0]?(i=1<l()&&''===u[1])&&n('<p><br>'):(i||(h('<p>'),i=1),h(''.concat(b(u[0]),' '))),d());return t},n.prototype.indexOf=function(e){return this.toString().indexOf(e)},n.prototype.",
    "toString=function(){return this.value},n.prototype.parenSplit=function(e){return this.toString().parenSplit(e)},n.prototype.substring=function(e,t){return void 0===t?this.toString().substring(e):this.toString().substring(e,t)},n.prototype.split=function(e){return this.toString().split(e)},n.prototype.replace=function(e,t){return this.toString().replace(e,t)},__extends(o,j=n),o.fromURL=function(e){return(new o).fromURL(e)},o.fromAnchor=function(e){return(new o).fromAnchor(e)},o.fromWikiText=function(e){return(new o).fromWikiText(e)},o.prototype.toString=function(e){return this.value+(!e&&this.anchor?'#'.concat(this.anchorString()):'')},o.prototype.anchorString=function(){if(!this.anchor)return'';for(var e,t=this.anchor.parenSplit(/((?:[.][0-9A-F]{2})+)/),i=t.length,n=1;n<i;n+=2){e=t[n].split('.').join('%');try{e=decodeURIComponent(e)}catch(e){}t[n]=e.split('_').join(' ')}return t.join('')},o.prototype.urlAnchor=function(){for(var e=this.anchor.parenSplit('/((?:[%][0-9A-F]{2})+)/'),t=e.length,i=1;i<t;i+=2)e[i]=e[i].split('%').join('.');return e.join('')},o.prototype.anchorFromUtf=function(e){this.anchor=encodeURIComponent(e.split(' ').join('_')).split('%3A').join(':').split('\\'').join('%27').split('%').join('.')},o.prototype.decodeNasties=function(t){try{return decodeURI(this.decodeEscapes(t)).replace(/[_ ]*$/,'')}catch(e){return t}},o.prototype.decodeEscapes=function(e){var t=e.parenSplit(/((?:[%][0-9A-Fa-f]{2})+)/),i=t.length;if(1===i)return t[0].replace(/%(?![0-9a-fA-F][0-9a-fA-F])/g,'%25');for(var n=1;n<i;n+=2)t[n]=decodeURIComponent(t[n]);return t.join('')},o.prototype.hintValue=function(){return this.value?s(this.value):''},o.prototype.toUserName=function(e){this.namespaceId()!==b.nsUserId&&this.namespaceId()!==b.nsUsertalkId?this.value=null:this.value=(e?''.concat(mw.config.get('wgFormattedNamespaces')[b.nsUserId],':'):'')+this.stripNamespace().split('/')[0]},o.prototype.userName=function(e){var t=new o(this.value);return t.toUserName(e),t.value?t:null},o.prototype.toTalkPage=function(){if(null!==this.value){var e=this.namespaceId();if(0<=e&&e%2==0){e=mw.config.get('wgFormattedNamespaces')[e+1];if(void 0!==e)return this.value=''===e?this.stripNamespace():''.concat(e.split(' ').join('_'),':').concat(this.stripNamespace()),this.value}this.value=null}return null},o.prototype.namespace=function(){return mw.config.get('wgFormattedNamespaces')[this.namespaceId()]},o.prototype.namespaceId=function(){try{var e,t=this.value.indexOf(':');return t<0?0:void 0===(e=mw.config.get('wgNamespaceIds')[this.value.substring(0,t).split(' ').join('_').toLowerCase()])?0:e}catch(e){return console.error(e,this),0}},o.prototype.talkPage=function(){var e=new o(this.value);return e.toTalkPage(),e.value?e:null},o.prototype.isTalkPage=function(){return null===this.talkPage()},o.prototype.toArticleFromTalkPage=function(){if(null!==this.value){var e=this.namespaceId();if(0<=e&&e%2==1){e=mw.config.get('wgFormattedNamespaces')[e-1];if(void 0!==e)return this.value=''===e?this.stripNamespace():''.concat(e.split(' ').join('_'),':').concat(this.stripNamespace()),this.value}this.value=null}return null},o.prototype.articleFromTalkPage=function(){var e=new o(this.value);return e.toArticleFromTalkPage(),e.value?e:null},o.prototype.articleFromTalkOrArticle=function(){var e=new o(this.value);return e.toArticleFromTalkPage()?e:this},o.prototype.isIpUser=function(){return b.re.ipUser.test(this.userName())},o.prototype.stripNamespace=function(){var e=this.value.indexOf(':');return e<0||this.namespaceId()===b.nsMainspaceId?this.value:this.value.substring(e+1)},o.prototype.setUtf=function(e){var t;e?(t=e.indexOf('#'))<0?(this.value=e.split('_').join(' '),this.anchor=''):(this.value=e.substring(0,t).split('_').join(' '),this.anchor=e.substring(t+1),this.ns=null):this.value=''},o.prototype.setUrl=function(e){var t=e.indexOf('#');this.value=s(e.substring(0,t)),this.anchor=this.value.substring(t+1)},o.prototype.append=function(e){this.setUtf(this.value+e)},o.prototype.urlString=function(e){var e=(e=e)||{},t=this.toString(!0);return!e.omitAnchor&&this.anchor&&(t+='#'.concat(this.urlAnchor())),e.keepSpaces||(t=t.split(' ').join('_')),encodeURI(t).split('&').join('%26').split('?').join('%3F').split('+').join('%2B')},o.prototype.removeAnchor=function(){return new o(this.toString(!0))},o.prototype.toUrl=function(){return b.wiki.titlebase+this.urlString()},o.prototype.fromURL=function(e){var t;return'string'!=typeof e?this.value=null:((t=e.split('?'))[0]=t[0].split('&').join('%26'),e=t.join('?'),(t=b.re.contribs.exec(e))?('title='===t[1]&&(t[3]=t[3].split('+').join(' ')),t=new o(t[3]),this.setUtf(this.decodeNasties(''.concat(mw.config.get('wgFormattedNamespaces')[b.nsUserId],':').concat(t.stripNamespace())))):(t=b.re.email.exec(e))?this.setUtf(this.decodeNasties(''.concat(mw.config.get('wgFormattedNamespaces')[b.nsUserId],':').concat(new o(t[3]).stripNamespace()))):(t=b.re.backlinks.exec(e))?this.setUtf(this.decodeNasties(new o(t[3]))):b.re.specialdiff.exec(e)?this.setUtf(this.decodeNasties(new o(''.concat(mw.config.get('wgFormattedNamespaces')[b.nsSpecialId],':Diff')))):null===(t=b.re.main.exec(e))?this.value=null:(/[?](.+[&])?title=/.test(e)&&(t[2]=t[2].split('+').join('_')),e=t[2]+(t[3]?'#'.concat(t[3]):''),b.flag.isSafari&&/%25[0-9A-Fa-f]{2}/.test(e)?this.setUtf(decodeURIComponent(unescape(e))):this.setUtf(this.decodeNasties(e)))),this},o.prototype.fromAnchor=function(e){return e?this.fromURL(e.href):(this.value=null,this)},o.prototype.fromWikiText=function(e){e=Ce(e);return this.setUtf(e),this},k=o,'a,b,c'!==''.concat('abc'.split(/(b)/))?String.prototype.parenSplit=function(e){for(var t=function(e){for(var t=e.toString(),i='',n=t.length;'/'!==t.charAt(n);--n)'g'!==t.charAt(n)&&(i+=t.charAt(n));e=t.substring(1,n);return RegExp(e,i)}(e),i=this,n=t.exec(i),o=[];n&&i;){for(var r=0;r<n.length;++r)void 0===n[r]&&(n[r]='');o.push(i.substring(0,n.index)),o=o.concat(n.slice(1)),i=i.substring(n.index+n[0].length),n=t.exec(i)}return o.push(i),o}:(String.prototype.parenSplit=function(e){return this.split(e)},String.prototype.parenSplit.isNative=!0),String.prototype.entify=function(){return this.split('&').join('&amp;').split('<').join('&lt;').split('>').join('&gt;').split('\"').join('&quot;')},b.escapeQuotesHTML=function(e){return e.replace(/&/g,'&amp;').replace(/\"/g,'&quot;').replace(/</g,'&lt;').replace(/>/g,'&gt;')},b.unescapeQuotesHTML=function(e){var t=document.createElement('textarea');return t.innerHTML=e,t.value},Qe.classAliases={popupSecondPreview:'popupPreview'},h.prototype.setData=function(){var e=Math.max(1e4,2*this.maxCharacters);this.data=this.originalData.substring(0,e)},h.prototype.killComments=function(){this.data=this.data.replace(RegExp('^\\x3c!--[^$]*?--\\x3e\\\\n|\\\\n\\x3c!--[^$]*?--\\x3e(?=\\\\n)|\\x3c!--[^$]*?--\\x3e','g'),'')},h.prototype.killDivs=function(){this.data=this.data.replace(RegExp('< *div[^>]* *>[\\\\s\\\\S]*?< */ *div *>','gi'),'')},h.prototype.killGalleries=function(){this.data=this.data.replace(RegExp('< *gallery[^>]* *>[\\\\s\\\\S]*?< */ *gallery *>','gi'),'')},h.prototype.kill=function(e,t,i,n,o){for(var r=this.data,a=this.killStuff(this.data,e,t,i,n,o);a.length<r.length;)r=a,a=this.killStuff(a,e,t,i,n,o);this.data=a},h.prototype.killStuff=function(e,t,i,n,o,r){var a=e,e=this.makeRegexp(t),s=this.makeRegexp(i,'^'),p=n?this.makeRegexp(n,'^'):null,c=o?this.makeRegexp(o,'^'):s;if(e&&s){if(!e.test(a))return a;for(var t=e.exec(a),i=a.substring(0,t.index),a=a.substring(t.index+t[0].length),u=1;0<a.length;){var l=0;if(1===u&&s.test(a)?(u--,l=s.exec(a)[0].length):1<u&&c.test(a)?(u--,l=c.exec(a)[0].length):p&&p.test(a)&&(u++,l=p.exec(a)[0].length),a=a.substring(l=l||1),0===u)break}return i+(r||'')+a}alert('Navigation Popups error: op or cl is null! something is wrong.')},h.prototype.makeRegexp=function(e,t,i){var n,t=t||'',i=i||'',o='',r='';return Fe(e)?o=t+p(e)+i:e instanceof RegExp?(r=(n=(e=e.toString().substring(1)).split('/'))[n.length-1],n[n.length-1]='',o=t+(e=(e=n.join('/')).substring(0,e.length-1))+i):w('makeRegexp failed'),w('makeRegexp: got reStr='.concat(o,', flags=').concat(r)),RegExp(o,r)},h.prototype.killBoxTemplates=function(){this.kill(RegExp('[{][{][^{}\\\\s|]*?(float|box)[_ ](begin|start)','i'),/[}][}]\\s*/,'{{'),this.kill(RegExp('[{][{][^{}\\\\s|]*?(infobox|elementbox|frame)[_ ]','i'),/[}][}]\\s*/,'{{')},h.prototype.killTemplates=function(){this.kill('{{','}}','{','}',' ')},h.prototype.killTables=function(){this.kill('{|',/[|]}\\s*/,'{|'),this.kill(/<table.*?>/i,/<\\/table.*?>/i,/<table.*?>/i),this.data=this.data.replace(RegExp('^[|].*$','mg'),'')},h.prototype.killImages=function(){var i=[];jQuery.each(mw.config.get('wgNamespaceIds'),function(e,t){t!==b.nsImageId&&t!==b.nsCategoryId||i.push(e.split(' ').join('[ _]'))}),this.kill(RegExp('[[][[]\\\\s*('.concat(i.join('|'),')\\\\s*:'),'i'),/\\]\\]\\s*/,'[',']')},h.prototype.killHTML=function(){this.kill(/<ref\\b[^/>]*?>/i,/<\\/ref>/i),this.data=this.data.replace(RegExp('(^|\\\\n) *<.*','g'),'\\n');for(var e=this.data.parenSplit(/(<[\\w\\W]*?(?:>|$|(?=<)))/),t=e.length,i=1;i<t;i+=2)switch(e[i]){case'<nowiki>':case'</nowiki>':case'<blockquote>':case'</blockquote>':break;default:e[i]=''}this.data=e.join('')},h.prototype.killChunks=function(){var e=new RegExp('((^|\\\\n)\\\\s*:*\\\\s*\\'\\'[^\\']([^\\']|\\'\\'\\'|\\'[^\\']){20}(.|\\\\n[^\\\\n])*\\'\\'[.!?\\\\s]*\\\\n)+','g');this.data=this.data.replace(e,'\\n')},h.prototype.mopup=function(){this.data=this.data.replace(RegExp('^-{4,}','mg'),''),this.data=this.data.replace(RegExp('(^|\\\\n) *:[^\\\\n]*','g'),''),this.data=this.data.replace(RegExp('^__[A-Z_]*__ *$','gmi'),'')},h.prototype.firstBit=function(){var e=this.data,t=(N('popupPreviewCutHeadings')&&(this.data=this.data.replace(RegExp('\\\\s*(==+[^=]*==+)\\\\s*','g'),'\\n\\n$1 '),this.data=this.data.replace(RegExp('([:;]) *\\\\n{2,}','g'),'$1\\n'),this.data=this.data.replace(RegExp('^[\\\\s\\\\n]*'),''),(t=RegExp('^([^\\\\n]|\\\\n[^\\\\n\\\\s])*').exec(this.data))&&(e=t[0]),e=(e=N('popupPreviewFirstParOnly')?e:this.data).replace(RegExp('(==+[^=]*==+)\\\\s*','g'),'$1\\n\\n')),(e=e.parenSplit(RegExp('([!?.]+[\"\\']*\\\\s)','g')))[0]=e[0].replace(RegExp('^\\\\s*'),''),RegExp('([^.][a-z][.] *[a-z]|etc|sic|Dr|Mr|Mrs|Ms|St|no|op|cit|\\\\[[^\\\\]]*|\\\\s[A-Zvclm])$','i')),e=this.fixSentenceEnds(e,t);this.fullLength=e.joi",
    "n('').length;for(var i=this.maxSentences,n=this.firstSentences(e,i);n=this.firstSentences(e,i),--i,n.length>this.maxCharacters&&0!==i;);this.data=n},h.prototype.fixSentenceEnds=function(e,t){for(var i=0;i<e.length-2;++i)if(t.test(e[i])){for(var n=[],o=0;o<e.length;++o)o<i&&(n[o]=e[o]),o===i&&(n[i]=e[i]+e[i+1]+e[i+2]),i+2<o&&(n[o-2]=e[o]);return this.fixSentenceEnds(n,t)}return e},h.prototype.firstSentences=function(e,t){return e.slice(0,2*t).join('')},h.prototype.killBadWhitespace=function(){this.data=this.data.replace(RegExp('^ *\\'+ *$','gm'),'')},h.prototype.makePreview=function(){this.owner.article.namespaceId()!==b.nsTemplateId&&this.owner.article.namespaceId()!==b.nsImageId?(this.killComments(),this.killDivs(),this.killGalleries(),this.killBoxTemplates(),N('popupPreviewKillTemplates')?this.killTemplates():this.killMultilineTemplates(),this.killTables(),this.killImages(),this.killHTML(),this.killChunks(),this.mopup(),this.firstBit(),this.killBadWhitespace()):this.killHTML(),this.html=xe(this.data,this.baseUrl),this.fixHTML(),this.stripLongTemplates()},h.prototype.esWiki2HtmlPart=function(e){for(var t=/(?:\\[\\[([^|\\]]*)(?:\\|([^|\\]]*))*]]([a-z]*))/gi,i='',n=t.lastIndex=0,o=t.exec(e);o;)i+=''.concat(b.escapeQuotesHTML(e.substring(n,o.index)),'<a href=\"').concat(S.conf.paths.articles).concat(b.escapeQuotesHTML(o[1]),'\">').concat(b.escapeQuotesHTML((o[2]||o[1])+o[3]),'</a>'),n=t.lastIndex,o=t.exec(e);return i+=b.escapeQuotesHTML(e.substring(n))},h.prototype.editSummaryPreview=function(){var e,t,i,n=/\\/\\* *(.*?) *\\*\\//g,o=(n.lastIndex=0,n.exec(this.data));return o?(i=this.data.substring(0,o.index-1),o=o[1],n=this.data.substring(n.lastIndex),e='<span class=\\'autocomment\\'>',t='</span>',0<i.length&&(e=''.concat(this.esWiki2HtmlPart(i),' ').concat(e,'- ')),0<n.length&&(t=': '.concat(t).concat(this.esWiki2HtmlPart(n))),(i=(new k).fromURL(this.baseUrl)).anchorFromUtf(o),n=''.concat(S.conf.paths.articles+b.escapeQuotesHTML(i.toString(!0)),'#').concat(b.escapeQuotesHTML(i.anchor)),''.concat(e,'<a href=\"').concat(n,'\">&rarr;</a> ').concat(b.escapeQuotesHTML(o)).concat(t)):this.esWiki2HtmlPart(this.data)},h.prototype.fixHTML=function(){var e;this.html&&(e=(e=(e=this.html).replace(RegExp('(<a href=\"'.concat(b.wiki.articlePath,'/[^\"]*)[?](.*?\")'),'g'),'$1%3F$2')).replace(RegExp('(<a href=\\''.concat(b.wiki.articlePath,'/[^\\']*)[?](.*?\\')'),'g'),'$1%3F$2'),this.html=e)},h.prototype.showPreview=function(){this.makePreview(),'string'!=typeof this.html||RegExp('^\\\\s*$').test(this.html)||(x('<hr />','popupPrePreviewSep',this.owner.idNumber),Ge(this.html,'popupPreview',this.owner.idNumber,{owner:this.owner}),x(this.fullLength>this.data.length?this.moreLink():'','popupPreviewMore',this.owner.idNumber))},h.prototype.moreLink=function(){var e=document.createElement('a'),t=(e.className='popupMoreLink',e.innerHTML=C('more...'),this);return e.onclick=function(){t.maxCharacters+=2e3,t.maxSentences+=20,t.setData(),t.showPreview()},e},h.prototype.stripLongTemplates=function(){this.html=this.html.replace(RegExp('^.{0,1000}[{][{][^}]*?(<(p|br)( /)?>\\\\s*){2,}([^{}]*?[}][}])?','gi'),''),this.html=this.html.split('\\n').join(' '),this.html=this.html.replace(RegExp('[{][{][^}]*<pre>[^}]*[}][}]','gi'),'')},h.prototype.killMultilineTemplates=function(){this.kill('{{{','}}}'),this.kill(RegExp('\\\\s*[{][{][^{}]*\\\\n'),'}}','{{')},O=h,b.fn.APIsharedImagePagePreviewHTML=function(e){w('APIsharedImagePagePreviewHTML');var t=e.requestid;e.query&&e.query.pages&&'string'==typeof(e=(e=L(e.query.pages))&&e.revisions&&'wikitext'===e.revisions[0].contentmodel?e.revisions[0].content:null)&&b&&b.current&&b.current.link&&b.current.link.navpopup&&((e=new O(e,b.current.link.navpopup.article,b.current.link.navpopup)).makePreview(),x(e.html,'popupSecondPreview',t))},m.prototype.addHook=function(e){this.hooks.push(e)},m.prototype.runHooks=function(){if(this.hooks&&this.hooks.length){for(var e=!1,t={},i=this.x,n=this.y,o=this.hooks.length,r=0;r<o;++r)!0===this.hooks[r](i,n)&&(t[r]=e=!0);e&&this.removeHooks(t)}},m.prototype.removeHooks=function(e){for(var t=[],i=this.hooks.length,n=0;n<i;++n)e[n]||t.push(this.hooks[n]);this.hooks=t},m.prototype.track=function(e){if(e=e||window.event){if(e.pageX)o=e.pageX,r=e.pageY;else{if(void 0===e.clientX)return;var t=void 0,i=document.documentElement,t=(t=i?i.scrollLeft:t)||document.body.scrollLeft||document.scrollLeft||0,n=(n=i?i.scrollTop:n)||document.body.scrollTop||document.scrollTop||0,o=e.clientX+t,r=e.clientY+n}this.setPosition(o,r)}},m.prototype.setPosition=function(e,t){var i;this.x=e,this.y=t,this.dirty||0===this.hooks.length?this.dirty=!1:('number'!=typeof this.lastHook_x&&(this.lastHook_x=-100,this.lastHook_y=-100),1<(i=0<=(i=(this.lastHook_x-e)*(this.lastHook_y-t))?i:-i)&&(this.lastHook_x=e,this.lastHook_y=t,this.dirty?this.dirty=!1:this.runHooks()))},m.prototype.enable=function(){var t;this.active||(this.active=!0,this.savedHandler=document.onmousemove,t=this,document.onmousemove=function(e){t.track.bind(t)(e)},this.loopDelay&&(this.timer=setInterval(function(){t.runHooks()},this.loopDelay)))},m.prototype.disable=function(){this.active&&('function'==typeof this.savedHandler?document.onmousemove=this.savedHandler:Reflect.deleteProperty(document,'onmousemove'),this.timer&&clearInterval(this.timer),this.active=!1)},W=m,P.prototype.isVisible=function(){return this.visible},P.prototype.reposition=function(e,t,i){w('reposition('.concat(e,',').concat(t,',').concat(i,')')),null!=e&&(this.left=e),null!=t&&(this.top=t),void 0!==this.left&&void 0!==this.top&&(this.mainDiv.style.left=''.concat(this.left,'px'),this.mainDiv.style.top=''.concat(this.top,'px')),i||this.limitHorizontalPosition()},P.prototype.limitHorizontalPosition=function(){var e,t,i;this.constrained&&!this.tooWide&&(this.updateDimensions(),i=this.left,t=this.width,(e=document.body.clientWidth)<=i+t||0<i&&this.maxWidth&&this.width<this.maxWidth&&this.height>this.width&&i>e-this.maxWidth)&&(this.mainDiv.style.left='-10000px',this.mainDiv.style.width=''.concat(this.maxWidth,'px'),(i=e-(t=parseInt(this.mainDiv.offsetWidth,10))-1)<0&&(this.tooWide=!(i=0)),w('limitHorizontalPosition: moving to ('.concat(i,',').concat(this.top,'); naturalWidth=').concat(t,', clientWidth=').concat(e)),this.reposition(i,null,!0))},P.prototype.raise=function(){this.mainDiv.style.zIndex=P.highest+1,++P.highest},P.prototype.show=function(){this.noshow||(this.reposition(),this.raise(),this.unhide())},P.prototype.showSoonIfStable=function(e){var o=this;w('showSoonIfStable, time='.concat(e)),this.visible||(this.noshow=!1,this.stable_x=-1e4,this.stable_y=-1e4,this.showSoonStableTimer=setInterval(function(){w('stableShow called');var e=P.tracker.x,t=P.tracker.y,i=o.stable_x-e,n=o.stable_y-t;i*i<=0&&n*n<=0?(w('mouse is stable'),clearInterval(o.showSoonStableTimer),o.reposition.bind(o)(e+2,t+2),o.show.bind(o)(),o.limitHorizontalPosition.bind(o)()):(o.stable_x=e,o.stable_y=t)},e/2))},P.prototype.banish=function(){w('banish called'),this.noshow=!0,this.showSoonStableTimer&&(w('clearing showSoonStableTimer'),clearInterval(this.showSoonStableTimer)),this.hide()},P.prototype.runHooks=function(e,t){if(this.hooks[e])for(var i=this.hooks[e],n=i.length,o=0;o<n;++o)i[o]&&i[o].when===t&&i[o].hook.bind(this)()&&(i[o].hookId&&Reflect.deleteProperty(this.hookIds,i[o].hookId),i[o]=null)},P.prototype.addHook=function(e,t,i,n){i=i||'after';if(this.hooks[t]){var o=null;if(n){if(o=[t,i,n].join('|'),this.hookIds[o])return;this.hookIds[o]=!0}this.hooks[t].push({hook:e,when:i,hookId:o})}},P.prototype.createMainDiv=function(){var e,t;this.mainDiv||(this.runHooks('create','before'),e=document.createElement('div'),t=this,e.onclick=function(e){t.onclickHandler(e)},e.className=this.className||'navpopup_maindiv',e.id=e.className+this.uid,e.style.position='absolute',e.style.minWidth='350px',e.style.display='none',e.className='navpopup',(e.navpopup=this).mainDiv=e,document.body.appendChild(e),this.runHooks('create','after'))},P.prototype.onclickHandler=function(){this.raise()},P.prototype.makeDraggable=function(e){this.mainDiv||this.createMainDiv();var t,i=new A,n=(e||(i.startCondition=function(e){try{if(!e.shiftKey)return!1}catch(e){return!1}return!0}),t=(t=e?document.getElementById(e):t)||this.mainDiv,this);i.endHook=function(e,t){P.tracker.dirty=!0,n.reposition(e,t)},i.init(t,this.mainDiv)},P.prototype.hide=function(){this.runHooks('hide','before'),this.abortDownloads(),void 0!==this.visible&&this.visible&&(this.mainDiv.style.display='none',this.visible=!1),this.runHooks('hide','after')},P.prototype.unhide=function(){this.runHooks('unhide','before'),void 0===this.visible||this.visible||(this.mainDiv.style.display='inline',this.visible=!0),this.runHooks('unhide','after')},P.prototype.setInnerHTML=function(e){this.mainDiv.innerHTML=e},P.prototype.updateDimensions=function(){this.width=parseInt(this.mainDiv.offsetWidth,10),this.height=parseInt(this.mainDiv.offsetHeight,10)},P.prototype.isWithin=function(e,t){if(!this.visible)return!1;this.updateDimensions();var i=this.fuzz||0;return e+i>=this.left&&e-i<=this.left+this.width&&t+i>=this.top&&t-i<=this.top+this.height},P.prototype.addDownload=function(e){e&&this.downloads.push(e)},P.prototype.abortDownloads=function(){for(var e=0;e<this.downloads.length;++e){var t=this.downloads[e];t&&t.abort&&t.abort()}this.downloads=[]},P.uid=0,P.highest=1e3,P.tracker=new W,c=P,F=RegExp('^(constructor|prototype|__((define|lookup)[GS]etter)__|eval|hasOwnProperty|propertyIsEnumerable|to(Source|String|LocaleString)|(un)?watch|valueOf)$'),bt.list={},It.prototype.html=function(){this.getNewWin(),this.getPrintFunction();var e='',t='span',i='<'.concat(t,' class=\"popup_').concat(this.id,'\">'),t='</'.concat(t,'>');return'function'!=typeof this.print?v('Oh dear - invalid print function for a navlinkTag, id='.concat(this.id)):'string'!=typeof(e=this.print(this))?e='':void 0!==this.shortcut&&(e=Dt(e,this.shortcut)),i+e+t},It.prototype.getNewWin=function(){N('popupLinksNewWindow'),void 0===b.option.popupLinksNewWindow[this.id]&&(this.newWin=null),this.newWin=b.option.popupLinksNewWindow[this.id]},It.prototype.getPrintFunction=function(){if('string'==typeof this.id&&typeof this.article==typeof{}){switch(this.noPopup=1,this.id){case'contribs':case'his",
    "tory':case'whatLinksHere':case'userPage':case'monobook':case'userTalk':case'talk':case'article':case'lastEdit':this.noPopup=null}switch(this.id){case'email':case'contribs':case'block':case'unblock':case'userlog':case'userSpace':case'deletedContribs':this.article=this.article.userName()}switch(this.id){case'userTalk':case'newUserTalk':case'editUserTalk':case'userPage':case'monobook':case'editMonobook':case'blocklog':this.article=this.article.userName(!0);case'pagelog':case'deletelog':case'protectlog':Reflect.deleteProperty(this,'oldid')}switch('editMonobook'!==this.id&&'monobook'!==this.id||this.article.append('/monobook.js'),'mainlink'!==this.id&&(this.article=this.article.removeAnchor()),this.id){case'undelete':this.print=H,this.specialpage='Undelete',this.sep='/';break;case'whatLinksHere':this.print=H,this.specialpage='Whatlinkshere';break;case'relatedChanges':this.print=H,this.specialpage='Recentchangeslinked';break;case'move':this.print=H,this.specialpage='Movepage';break;case'contribs':this.print=H,this.specialpage='Contributions';break;case'deletedContribs':this.print=H,this.specialpage='Deletedcontributions';break;case'email':this.print=H,this.specialpage='EmailUser',this.sep='/';break;case'block':this.print=H,this.specialpage='Blockip',this.sep='&ip=';break;case'unblock':this.print=H,this.specialpage='Ipblocklist',this.sep='&action=unblock&ip=';break;case'userlog':this.print=H,this.specialpage='Log',this.sep='&user=';break;case'blocklog':this.print=H,this.specialpage='Log',this.sep='&type=block&page=';break;case'pagelog':this.print=H,this.specialpage='Log',this.sep='&page=';break;case'protectlog':this.print=H,this.specialpage='Log',this.sep='&type=protect&page=';break;case'deletelog':this.print=H,this.specialpage='Log',this.sep='&type=delete&page=';break;case'userSpace':this.print=H,this.specialpage='PrefixIndex',this.sep='&namespace=2&prefix=';break;case'search':this.print=H,this.specialpage='Search',this.sep='&fulltext=Search&search=';break;case'thank':this.print=H,this.specialpage='Thanks',this.sep='/',this.article.value='prev'!==this.diff?this.diff:this.oldid;break;case'unwatch':case'watch':this.print=Wt,this.action=''.concat(this.id,'&autowatchlist=1&autoimpl=').concat(C('autoedit_version'),'&actoken=').concat(a());break;case'history':case'historyfeed':case'unprotect':case'protect':this.print=I,this.action=this.id;break;case'delete':this.print=I,this.action='delete',this.article.namespaceId()===b.nsImageId&&(e=this.article.stripNamespace(),this.action+='&image='.concat(e));break;case'markpatrolled':case'edit':Reflect.deleteProperty(this,'oldid');case'view':case'purge':case'render':this.print=I,this.action=this.id;break;case'raw':this.print=I,this.action='raw';break;case'new':this.print=I,this.action='edit&section=new';break;case'mainlink':var e;void 0===this.text&&(this.text=this.article.toString().entify()),N('popupSimplifyMainLink')&&0!==this.article.namespaceId()&&(e=this.text.split('/'),this.text=e[e.length-1],''===this.text)&&1<e.length&&(this.text=e[e.length-2]),this.print=Mt,void 0===this.title&&b.current.link&&void 0!==b.current.link.href&&(this.title=s(b.current.link.originalTitle||this.article),void 0!==this.oldid)&&this.oldid&&(this.title=_('Revision %s of %s',[this.oldid,this.title])),this.action='view';break;case'userPage':case'article':case'monobook':case'editMonobook':case'editArticle':Reflect.deleteProperty(this,'oldid'),this.article=this.article.articleFromTalkOrArticle(),this.print=I,0===this.id.indexOf('edit')?this.action='edit':this.action='view';break;case'userTalk':case'talk':this.article=this.article.talkPage(),Reflect.deleteProperty(this,'oldid'),this.print=I,this.action='view';break;case'arin':this.print=qt;break;case'count':this.print=Vt;break;case'google':this.print=Kt;break;case'editors':this.print=Zt;break;case'globalsearch':this.print=Gt;break;case'lastEdit':this.print=At,this.title=C('Show the last edit'),this.from='prev',this.to='cur';break;case'oldEdit':this.print=At,this.title=''.concat(C('Show the edit made to get revision'),' ').concat(this.oldid),this.from='prev',this.to=this.oldid;break;case'editOld':this.print=I,this.action='edit';break;case'undo':this.print=I,this.action='edit&undo=';break;case'revert':this.print=I,this.action='revert';break;case'nullEdit':this.print=I,this.action='nullEdit';break;case'diffCur':this.print=At,this.title=_('Show changes since revision %s',[this.oldid]),this.from=this.oldid,this.to='cur';break;case'editUserTalk':case'editTalk':Reflect.deleteProperty(this,'oldid'),this.article=this.article.talkPage(),this.action='edit',this.print=I;break;case'newUserTalk':case'newTalk':this.article=this.article.talkPage(),this.action='edit&section=new',this.print=I;break;case'lastContrib':case'sinceMe':this.print=Ft;break;case'togglePreviews':this.text=C(b.option.simplePopups?'enable previews':'disable previews');case'disablePopups':case'purgePopups':this.print=$t;break;default:this.print=function(){return'Unknown navlink type: '.concat(this.id)}}}},B=It,b.fn.getLastContrib=function(i,n){Xt(i,function(e){var t;t={page:i,newWin:n},(e=e).edits&&e.edits.length?e.firstNewEditor?jt(''.concat(b.wiki.titlebase+new k(t.page).urlString(),'&diff=cur&oldid=').concat(e.firstNewEditor.oldid),t.newWin):alert(_('Only found one editor: %s made %s edits',[e.edits[0].editor,e.edits.length])):alert('Popups: an odd thing happened. Please retry.')})},b.fn.getDiffSinceMyEdit=function(n,o){Xt(n,function(e){var t,i;t={page:n,newWin:o},(e=e).edits&&e.edits.length?(i=t.page.split('_').join(' '),e.myLastEdit?0===e.myLastEdit.index?alert(_('%s seems to be the last editor to the page %s',[e.userName,i])):jt(''.concat(b.wiki.titlebase+new k(t.page).urlString(),'&diff=cur&oldid=').concat(e.myLastEdit.oldid),t.newWin):alert(_('Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s',[e.userName,N('popupHistoryLimit'),i]))):alert('Popups: something fishy happened. Please try again.')})},b.fn.purgePopups=function(){Ot(!0),Pt(),b.option={},Le()},b.fn.disablePopups=function(){Ot(!1,!0),Q(null,!0)},b.fn.togglePreviews=function(){Ot(!0,!0),b.option.simplePopups=!b.option.simplePopups,Le()},b.fn.modifyWatchlist=function(n,o){return __awaiter(this,void 0,void 0,function(){var t,i;return __generator(this,function(e){switch(e.label){case 0:return t={action:'watch',formatversion:2,titles:n,uselang:mw.config.get('wgUserLanguage')},'unwatch'===o&&(t.unwatch=!0),i=mw.Title.newFromText(n),i=i&&0<i.getNamespaceId()&&i.getNamespaceId()%2==1?'watch'===o?'addedwatchtext-talk':'removedwatchtext-talk':'watch'===o?'addedwatchtext':'removedwatchtext',[4,Promise.all([U().postWithToken('watch',t),U().loadMessagesIfMissing([i])])];case 1:return e.sent(),mw.notify(mw.message(i,n).parseDom()),[2]}})})},b.string={article:'article',category:'category',categories:'categories',image:'image',images:'images',stub:'stub','section stub':'section stub','Empty page':'Empty page',kB:'kB',bytes:'bytes',day:'day',days:'days',hour:'hour',hours:'hours',minute:'minute',minutes:'minutes',second:'second',seconds:'seconds',week:'week',weeks:'weeks',search:'search',SearchHint:'Find English Wikipedia articles containing %s',web:'web',global:'global',globalSearchHint:'Search across Wikipedias in different languages for %s',googleSearchHint:'Google for %s',actions:'actions',popupsMenu:'popups',togglePreviewsHint:'Toggle preview generation in popups on this page','enable previews':'enable previews','disable previews':'disable previews','toggle previews':'toggle previews','show preview':'show preview',reset:'reset','more...':'more...',disable:'disable popups',disablePopupsHint:'Disable popups on this page. Reload page to re-enable.',historyfeedHint:'RSS feed of recent changes to this page',purgePopupsHint:'Reset popups, clearing all cached popup data.',PopupsHint:'Reset popups, clearing all cached popup data.',spacebar:'space',view:'view','view article':'view article',viewHint:'Go to %s',talk:'talk','talk page':'talk page','this&nbsp;revision':'this&nbsp;revision','revision %s of %s':'revision %s of %s','Revision %s of %s':'Revision %s of %s','the revision prior to revision %s of %s':'the revision prior to revision %s of %s','Toggle image size':'Click to toggle image size',del:'del',delete:'delete',deleteHint:'Delete %s',undeleteShort:'un',UndeleteHint:'Show the deletion history for %s',protect:'protect',protectHint:'Restrict editing rights to %s',unprotectShort:'un',unprotectHint:'Allow %s to be edited by anyone again','send thanks':'send thanks',ThanksHint:'Send a thank you notification to this user',move:'move','move page':'move page',MovepageHint:'Change the title of %s',edit:'edit','edit article':'edit article',editHint:'Change the content of %s','edit talk':'edit talk',new:'new','new topic':'new topic',newSectionHint:'Start a new section on %s','null edit':'null edit',nullEditHint:'Submit an edit to %s, making no changes ',hist:'hist',history:'history',historyHint:'List the changes made to %s',last:'prev',lastEdit:'lastEdit','mark patrolled':'mark patrolled',markpatrolledHint:'Mark this edit as patrolled','Could not marked this edit as patrolled':'Could not marked this edit as patrolled','show last edit':'most recent edit','Show the last edit':'Show the effects of the most recent change',lastContrib:'lastContrib','last set of edits':'latest edits',lastContribHint:'Show the net effect of changes made by the last editor',cur:'cur',diffCur:'diffCur','Show changes since revision %s':'Show changes since revision %s','%s old':'%s old',oldEdit:'oldEdit',purge:'purge',purgeHint:'Demand a fresh copy of %s',raw:'source',rawHint:'Download the source of %s',render:'simple',renderHint:'Show a plain HTML version of %s','Show the edit made to get revision':'Show the edit made to get revision',sinceMe:'sinceMe','changes since mine':'diff my edit',sinceMeHint:'Show changes since my last edit','Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s':'Couldn\\'t find an edit by %s\\nin the last %s edits to\\n%s',eds:'eds',editors:'editors',editorListHint:'List the users who have edited %s',related:'related',relatedChanges:'relatedChanges','related changes':'related changes',RecentchangeslinkedHint:'Show changes in articles related to %s',editOld:'editOld',rv:'rv',revert:'re",
    "vert',revertHint:'Revert to %s',defaultpopupReviewedSummary:'Accepted by reviewing the [[Special:diff/%s/%s|difference]] between this version and previously accepted version using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRedlinkSummary:'Removing link to empty page [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupFixDabsSummary:'Disambiguate [[%s]] to [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupFixRedirsSummary:'Redirect bypass from [[%s]] to [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupExtendedRevertSummary:'Revert to revision dated %s by %s, oldid %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRevertToPreviousSummary:'Revert to the revision prior to revision %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRevertSummary:'Revert to revision %s using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupQueriedRevertToPreviousSummary:'Revert to the revision prior to revision $1 dated $2 by $3 using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupQueriedRevertSummary:'Revert to revision $1 dated $2 by $3 using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',defaultpopupRmDabLinkSummary:'Remove link to dab page [[%s]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]',Redirects:'Redirects',' to ':' to ','Bypass redirect':'Bypass redirect','Fix this redirect':'Fix this redirect',disambig:'disambig',disambigHint:'Disambiguate this link to [[%s]]','Click to disambiguate this link to:':'Click to disambiguate this link to:','remove this link':'remove this link','remove all links to this page from this article':'remove all links to this page from this article','remove all links to this disambig page from this article':'remove all links to this disambig page from this article',mainlink:'mainlink',wikiLink:'wikiLink',wikiLinks:'wikiLinks','links here':'links here',whatLinksHere:'whatLinksHere','what links here':'what links here',WhatlinkshereHint:'List the pages that are hyperlinked to %s',unwatchShort:'un',watchThingy:'watch',watchHint:'Add %s to my watchlist',unwatchHint:'Remove %s from my watchlist','Only found one editor: %s made %s edits':'Only found one editor: %s made %s edits','%s seems to be the last editor to the page %s':'%s seems to be the last editor to the page %s',rss:'rss','Diff truncated for performance reasons':'Diff truncated for performance reasons','Old revision':'Old revision','New revision':'New revision','Something went wrong :-(':'Something went wrong :-(','Empty revision, maybe non-existent':'Empty revision, maybe non-existent','Unknown date':'Unknown date','Empty category':'Empty category','Category members (%s shown)':'Category members (%s shown)','No image links found':'No image links found','File links':'File links','No image found':'No image found','Image from Commons':'Image from Commons','Description page':'Description page','Alt text:':'Alt text:',revdel:'Hidden revision',user:'user','user&nbsp;page':'user&nbsp;page','user talk':'user talk','edit user talk':'edit user talk','leave comment':'leave comment',email:'email','email user':'email user',EmailuserHint:'Send an email to %s',space:'space',PrefixIndexHint:'Show pages in the userspace of %s',count:'count','edit counter':'edit counter',editCounterLinkHint:'Count the contributions made by %s',contribs:'contribs',contributions:'contributions',deletedContribs:'deleted contributions',DeletedcontributionsHint:'List deleted edits made by %s',ContributionsHint:'List the contributions made by %s',log:'log','user log':'user log',userLogHint:'Show %s\\'s user log',arin:'ARIN lookup','Look up %s in ARIN whois database':'Look up %s in the ARIN whois database',unblockShort:'un',block:'block','block user':'block user',IpblocklistHint:'Unblock %s',BlockipHint:'Prevent %s from editing','block log':'block log',blockLogHint:'Show the block log for %s',protectLogHint:'Show the protection log for %s',pageLogHint:'Show the page log for %s',deleteLogHint:'Show the deletion log for %s','Invalid %s %s':'The option %s is invalid: %s','No backlinks found':'No backlinks found',' and more':' and more',undo:'undo',undoHint:'undo this edit','Download preview data':'Download preview data','Invalid or IP user':'Invalid or IP user','Not a registered username':'Not a registered username',BLOCKED:'BLOCKED','Has blocks':'Has blocks',' edits since: ':' edits since: ','last edit on ':'last edit on ','Enter a non-empty edit summary or press cancel to abort':'Enter a non-empty edit summary or press cancel to abort','Failed to get revision information, please edit manually.\\n\\n':'Failed to get revision information, please edit manually.\\n\\n','The %s button has been automatically clicked. Please wait for the next page to load.':'The %s button has been automatically clicked. Please wait for the next page to load.','Could not find button %s. Please check the settings in your javascript file.':'Could not find button %s. Please check the settings in your javascript file.','Open full-size image':'Open full-size image',zxy:'zxy',autoedit_version:'np20140416'},localStorage.removeItem('popupNoTranslation'),t=new Set,window.popupNoTranslation=t,'complete'===document.readyState?ei():$(window).on('load',ei),z=!0,mw.hook('wikipage.content').add(ti),mw.hook('ext.echo.overlay.beforeShowingOverlay').add(function(e){ti(e.find('.mw-echo-state'))}))});"
].join("")); 

/* </pre> */