From 71380da4cf9d2da114487b6567f29b6612d20c05 Mon Sep 17 00:00:00 2001 From: steven Date: Tue, 19 Dec 2017 11:08:53 +0800 Subject: [PATCH 1/3] Add chinese support Add simplified chinese support --- client/galaxy/scripts/nls/zh/locale.js | 534 ++++++++++++++++++------- 1 file changed, 386 insertions(+), 148 deletions(-) diff --git a/client/galaxy/scripts/nls/zh/locale.js b/client/galaxy/scripts/nls/zh/locale.js index 840922b1e7e..e122d79e4eb 100644 --- a/client/galaxy/scripts/nls/zh/locale.js +++ b/client/galaxy/scripts/nls/zh/locale.js @@ -1,169 +1,407 @@ /** zh localization */ +/* by steven shen */ define({ - // ---------------------------------------------------------------------------- histories - // ---- history-model - // ---- history-view - "This history is empty": "历史已空", - "No matching datasets found": "未找到匹配的数据集", - //"An error occurred while getting updates from the server" : - //false, - //"Please contact a Galaxy administrator if the problem persists" : - //false, - //TODO: - //"An error was encountered while <% where %>" : - //false, - "Search datasets": "搜索数据集", - "You are currently viewing a deleted history!": "正在查看已删除的历史", - "You are over your disk quota": "您已超过磁盘配额", - //"Tool execution is on hold until your disk usage drops below your allocated quota" : - //false, - All: "皆", - None: "一个也没有", - "For all selected": "为每个选定", +// ----------------------------------------------------------------------------- masthead +"Analyze Data": + "数据分析", +"Workflow": + "流程", +"Shared Data": + "共享的数据", +"Data Libraries": + "数据库", +"Histories": + "已发布的历史", +"Workflows": + "已发布的流程", +"Visualizations": + "已发布的可视化", +"Pages": + "已发布的页面", +"Visualization": + "可视化", +"New Track Browser": + "创建 Track Browser", +"Saved Visualizations": + "已保存的保存", +"Interactive Environments": + "交互式环境", +"Admin": + "管理员", +"Help": + "帮助", +"Support": + "支持", +"Search": + "搜索", +"Mailing Lists": + "邮件列表", +"Videos": + "视频", +"Wiki": + false, +"How to Cite Galaxy": + "引用", +"Interactive Tours": + "使用引导", +"User": + "用户", +"Login": + "登陆", +"Register": + "注册", +"Login or Register": + "登陆或注册", +"Logged in as": + "您已登陆为", +"Preferences": + "用户偏好性", +"Custom Builds": + "自定义构建集", +"Logout": + "退出", +"Saved Histories": + "保存历史", +"Saved Datasets": + "保存数据集", +"Saved Pages": + "保存页面", - // ---- history-view-edit - //"Edit history tags" : - //false, - //"Edit history Annotation" : - //false, - "Click to rename history": "单击要重命名的历史", - // multi operations - "Operations on multiple datasets": "编辑多个数据集", - //"Hide datasets" : - //false, - //"Unhide datasets" : - //false, - //"Delete datasets" : - //false, - //"Undelete datasets" : - //false, - "Permanently delete datasets": "永久删除数据集", - "This will permanently remove the data in your datasets. Are you sure?": "这将永久在你的数据集删除数据。你确定?", +//Tooltip +"Account and saved data" : + "账号及数据保存", +"Account registration or login" : + "注册与登录", +"Support, contact, and community" : + "支持,联系,社区", +"Administer this Galaxy" : + "管理您的Galaxy", +"Visualize datasets" : + "数据集可视化", +"Access published resources" : + "访问发布的资源", +"Chain tools into workflows" : + "将工具链接到工作流程中", +"Analysis home view" : + "数据分析主页", - // ---- history-view-annotated - Dataset: "数据集", - //"Annotation" : - //false, +// ---------------------------------------------------------------------------- histories +// ---- history/options-menu +"History Lists": + "历史列表", +// Saved histories is defined above. +"Saved Histories": + "保存历史", +"Histories Shared with Me": + "分享给您历史", +"Current History": + "当前历史", +"Create New": + "创建新的历史", +"Copy History": + "复制历史", +"Share or Publish": + "分享或发布历史", +"Show Structure": + "展示结构", +"Extract Workflow": + "提取为工作流", +// Delete is defined elsewhere, but is also in this menu. +"Delete": + "删除", +"Delete Permanently": + "永久删除", +"Dataset Actions": + "数据操作", +"Copy Datasets": + "复制数据集", +"Dataset Security": + "数据安全", +"Resume Paused Jobs": + "恢复已暂停的任务", +"Collapse Expanded Datasets": + false, +"Unhide Hidden Datasets": + "取消隐藏的数据集", +"Delete Hidden Datasets": + "删除隐藏的数据集", +"Purge Deleted Datasets": + "清空已删除的数据集", +"Downloads": + "下载", +"Export Tool Citations": + "导出工具文献引用", +"Export History to File": + "导出历史到文件", +"Other Actions": + "其他操作", +"Import from File": + "从文件导入", +"Webhooks": + false, - // ---- history-view-edit-current - "This history is empty. Click 'Get Data' on the left tool menu to start": "历史已空,请单击左边窗格中‘获取数据’", - "You must be logged in to create histories": "你必须登录后才能创建历史", - //TODO: - //"You can <% loadYourOwn %> or <% externalSource %>" : - //false, - //"load your own data" : - //false, - //"get data from an external source" : - //false, +// ---- history-model +// ---- history-view +"This history is empty" : + "历史已空", +"No matching datasets found" : + "未找到匹配的数据集", +"An error occurred while getting updates from the server" : + "从服务器更新出现错误", +"Please contact a Galaxy administrator if the problem persists" : + "如果问题仍然存在,请联系Galaxy管理员", +//TODO: +"An error was encountered while <% where %>" : + "出现错误,当执行以下操作时: <% where %>", +"search datasets" : + "搜索数据集", +"You are currently viewing a deleted history!" : + "您正在查看已删除的历史记录", +"You are over your disk quota" : + "您超出了您的磁盘配额", +"Tool execution is on hold until your disk usage drops below your allocated quota" : + "工具执行处于暂停状态,直到您的磁盘使用量低于您分配的配额", +"All" : + "所有的", +"None" : + "一个也没有", +"For all selected" : + "为每个选定", - // ---------------------------------------------------------------------------- datasets - // ---- hda-model - //"Unable to purge dataset" : - //false, +// ---- history-view-edit +"Edit history tags" : + "编辑历史标签", +"Edit history Annotation" : + "编辑历史备注", +"Click to rename history" : + "单击要重命名的历史", +// multi operations +"Operations on multiple datasets" : + "编辑多个数据集", +"Hide datasets" : + "隐藏数据集", +"Unhide datasets" : + "显示数据集", +"Delete datasets" : + "删除数据集", +"Undelete datasets" : + "取消删除数据集", +"Permanently delete datasets" : + "永久删除数据集", +"This will permanently remove the data in your datasets. Are you sure?" : + "这将永久在您的数据集删除数据。你确定?", - // ---- hda-base - // display button - //"Cannot display datasets removed from disk" : - //false, - //"This dataset must finish uploading before it can be viewed" : - //false, - //"This dataset is not yet viewable" : - //false, - "View data": "数据", - // download button - Download: "下载", - "Download dataset": "下载数据集", - //"Additional files" : - //false, - // info/show_params - "View details": "查看详情", +// ---- history-view-annotated +"Dataset" : + "数据", +"Annotation" : + "备注", - // dataset states - // state: new - //"This is a new dataset and not all of its data are available yet" : - //false, - // state: noPermission - //"You do not have permission to view this dataset" : - //false, - // state: discarded - //"The job creating this dataset was cancelled before completion" : - //false, - // state: queued - "This job is waiting to run": "等待运行的进程", - // state: upload - //"This dataset is currently uploading" : - //false, - // state: setting_metadata - //"Metadata is being auto-detected" : - //false, - // state: running - "This job is currently running": "正在运行的进程", - // state: paused - //"This job is paused. Use the \"Resume Paused Jobs\" in the history menu to resume" : - //false, - // state: error - "An error occurred with this dataset": "进程运行时出错", - // state: empty - "No data": "没有数据", - // state: failed_metadata - //"An error occurred setting the metadata for this dataset" : - //false, +// ---- history-view-edit-current +"This history is empty. Click 'Get Data' on the left tool menu to start" : + "历史已空,请单击左边窗格中‘获取数据’", +"You must be logged in to create histories" : + "你必须登录后才能创建历史", +//TODO: +"You can " : + "您可以 ", +" or " : + " 或者 ", +"load your own data" : + "上传您的个人数据", +"get data from an external source" : + "从外部来源获取数据", - // ajax error prefix - //"There was an error getting the data for this dataset" : - //false, +// these aren't in zh/ginga.po and the template doesn't localize +//"Include Deleted Datasets" : +//false, +//"Include Hidden Datasets" : +//false, - // purged'd/del'd msg - //"This dataset has been deleted and removed from disk" : - //false, - "This dataset has been deleted": "此数据集已被删除", - "This dataset has been hidden": "此数据集已隐藏", +// ---------------------------------------------------------------------------- datasets +// ---- hda-model +"Unable to purge dataset" : + "无法清除数据集", - format: "格式", - database: "数据库", +// ---- hda-base +// display button +"Cannot display datasets removed from disk" : + "无法显示已从磁盘中删除的数据集", +"This dataset must finish uploading before it can be viewed" : + "此数据集必须先完成上传, 然后才能查看", +"This dataset is not yet viewable" : + "此数据集是不可见的", +"View data" : + "查看数据", +// download button +"Download" : + "下载", +"Download dataset" : + "下载数据集", +"Additional files" : + "其他文件", +// info/show_params +"View details" : + "查看详情", - // ---- hda-edit - "Edit attributes": "编辑属性", - //"Cannot edit attributes of datasets removed from disk" : - //false, - //"Undelete dataset to edit attributes" : - //false, - //"This dataset must finish uploading before it can be edited" : - //false, - //"This dataset is not yet editable" : - //false, +// dataset states +// state: new +"This is a new dataset and not all of its data are available yet" : + "这是一个新的数据集,并不是所有的数据都可用" , +// state: noPermission +"You do not have permission to view this dataset" : + "您无权查看此数据集", +// state: discarded +"The job creating this dataset was cancelled before completion" : + "创建此数据集的任务在完成之前已被取消", +// state: queued +"This job is waiting to run" : + "任务正在等待运行", +// state: upload +"This dataset is currently uploading" : + "此数据集正在上传中", +// state: setting_metadata +"Metadata is being auto-detected" : + "元数据正在被自动检测中", +// state: running +"This job is currently running" : + "任务正在运行中", +// state: paused +"This job is paused. Use the \"Resume Paused Jobs\" in the history menu to resume" : + "此任务已暂停。使用历史菜单中的 \"恢复已暂停的工作\" 来恢复", +// state: error +"An error occurred with this dataset" : + "此数据集发生错误", +// state: empty +"No data" : + "没有数据", +// state: failed_metadata +"An error occurred setting the metadata for this dataset" : + "设置此数据集的元数据时发生错误", - Delete: "删除", - //"Dataset is already deleted" : - //false, +// ajax error prefix +"There was an error getting the data for this dataset" : + "获取此数据集的数据时出错", - "View or report this error": "报告错误", +// purged'd/del'd msg +"This dataset has been deleted and removed from disk" : + "此数据集已被删除并从磁盘中删除", +"This dataset has been deleted" : + "此数据集已被删除", +"This dataset has been hidden" : + "此数据集已被隐藏", - "Run this job again": "重新运行", +"format" : + "格式", +"database" : + "数据库", - Visualize: "图形", - //"Visualize in" : - //false, +// ---- hda-edit +"Edit attributes" : + "编辑属性", +"Cannot edit attributes of datasets removed from disk" : + "无法编辑已从磁盘中删除的数据集的属性", +"Undelete dataset to edit attributes" : + "取消删除数据集以编辑属性", +"This dataset must finish uploading before it can be edited" : + "该数据集必须先上传完成, 然后才能编辑", +"This dataset is not yet editable" : + "该数据集不可编辑", - "Undelete it": "反删除", - "Permanently remove it from disk": "从磁盘中永久删除", - "Unhide it": "取消隐藏" +"Delete" : + "删除", +"Dataset is already deleted" : + "数据集已被删除", - //"You may be able to" : - //false, - //"set it manually or retry auto-detection" : - //false, +"View or report this error" : + "查看或报告此错误", - //"Edit dataset tags" : - //false, - //"Edit dataset annotation" : - //false, +"Run this job again" : + "重新运行此任务", - // ---------------------------------------------------------------------------- misc. MVC - //"Tags" : - //false, - //"Annotation" : - //false, - //"Edit annotation" : - //false, +"Visualize" : + "可视化", +"Visualize in" : + "的可视化", + +"Undelete it" : + "取消删除", +"Permanently remove it from disk" : + "从磁盘中永久删除", +"Unhide it" : + "取消隐藏", + +"You may be able to" : + "您可能可以", +"set it manually or retry auto-detection" : + "手动设置或重试自动检测", + +"Edit dataset tags" : + "编辑数据集标签", +"Edit dataset annotation" : + "编辑数据集备注", + +"Tool Help" : + "工具帮助", + +// ---------------------------------------------------------------------------- admin +"Search Tool Shed": + "搜索 Tool Shed", +"Monitor installing repositories": + "", +"Manage installed tools": + "管理已安装的工具", +"Reset metadata": + "重置元数据", +"Download local tool": + "下载本地工具", +"Tool lineage": + false, +"Reload a tool's configuration": + "重新加载工具的配置", +"Review tool migration stages": + "查看工具迁移状态", +"View Tool Error Logs": + "查看工具错误日志", +"Manage Display Whitelist": + "管理显示白名单", +"Manage Tool Dependencies": + "管理工具依赖", +"Users": + "用户", +"Groups": + "组别", +"API keys": + false, +"Impersonate a user": + "模拟用户", +"Data": + "数据", +"Quotas": + "配额", +"Roles": + "角色", +"Local data": + "本地数据", +"Form Definitions": + "定义表单", + +// ---------------------------------------------------------------------------- Scratchbook +"Enable/Disable Scratchbook": + "启用/禁用 Scratchbook", +"Show/Hide Scratchbook": + "显示/隐藏 Scratchbook", + +// ---------------------------------------------------------------------------- misc. MVC +"Tags" : + "标签", +"Edit annotation" : + "编辑备注", + + +// ---------------------------------------------------------------------------- + + 'ja' : true, + 'fr' : true, + 'zh' : true }); From c89967f9a4a1322dd7ea85956be6264058779937 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 19 Dec 2017 13:11:48 -0500 Subject: [PATCH 2/3] Client-format (TODO: Set this up as a build pipeline using .po's as the canonical source, building to these bundles...) --- client/galaxy/scripts/nls/zh/locale.js | 589 +++++++++---------------- 1 file changed, 213 insertions(+), 376 deletions(-) diff --git a/client/galaxy/scripts/nls/zh/locale.js b/client/galaxy/scripts/nls/zh/locale.js index e122d79e4eb..fdc298ea70d 100644 --- a/client/galaxy/scripts/nls/zh/locale.js +++ b/client/galaxy/scripts/nls/zh/locale.js @@ -1,407 +1,244 @@ /** zh localization */ /* by steven shen */ define({ -// ----------------------------------------------------------------------------- masthead -"Analyze Data": - "数据分析", -"Workflow": - "流程", -"Shared Data": - "共享的数据", -"Data Libraries": - "数据库", -"Histories": - "已发布的历史", -"Workflows": - "已发布的流程", -"Visualizations": - "已发布的可视化", -"Pages": - "已发布的页面", -"Visualization": - "可视化", -"New Track Browser": - "创建 Track Browser", -"Saved Visualizations": - "已保存的保存", -"Interactive Environments": - "交互式环境", -"Admin": - "管理员", -"Help": - "帮助", -"Support": - "支持", -"Search": - "搜索", -"Mailing Lists": - "邮件列表", -"Videos": - "视频", -"Wiki": - false, -"How to Cite Galaxy": - "引用", -"Interactive Tours": - "使用引导", -"User": - "用户", -"Login": - "登陆", -"Register": - "注册", -"Login or Register": - "登陆或注册", -"Logged in as": - "您已登陆为", -"Preferences": - "用户偏好性", -"Custom Builds": - "自定义构建集", -"Logout": - "退出", -"Saved Histories": - "保存历史", -"Saved Datasets": - "保存数据集", -"Saved Pages": - "保存页面", + // ----------------------------------------------------------------------------- masthead + "Analyze Data": "数据分析", + Workflow: "流程", + "Shared Data": "共享的数据", + "Data Libraries": "数据库", + Histories: "已发布的历史", + Workflows: "已发布的流程", + Visualizations: "已发布的可视化", + Pages: "已发布的页面", + Visualization: "可视化", + "New Track Browser": "创建 Track Browser", + "Saved Visualizations": "已保存的保存", + "Interactive Environments": "交互式环境", + Admin: "管理员", + Help: "帮助", + Support: "支持", + Search: "搜索", + "Mailing Lists": "邮件列表", + Videos: "视频", + Wiki: false, + "How to Cite Galaxy": "引用", + "Interactive Tours": "使用引导", + User: "用户", + Login: "登陆", + Register: "注册", + "Login or Register": "登陆或注册", + "Logged in as": "您已登陆为", + Preferences: "用户偏好性", + "Custom Builds": "自定义构建集", + Logout: "退出", + "Saved Histories": "保存历史", + "Saved Datasets": "保存数据集", + "Saved Pages": "保存页面", -//Tooltip -"Account and saved data" : - "账号及数据保存", -"Account registration or login" : - "注册与登录", -"Support, contact, and community" : - "支持,联系,社区", -"Administer this Galaxy" : - "管理您的Galaxy", -"Visualize datasets" : - "数据集可视化", -"Access published resources" : - "访问发布的资源", -"Chain tools into workflows" : - "将工具链接到工作流程中", -"Analysis home view" : - "数据分析主页", + //Tooltip + "Account and saved data": "账号及数据保存", + "Account registration or login": "注册与登录", + "Support, contact, and community": "支持,联系,社区", + "Administer this Galaxy": "管理您的Galaxy", + "Visualize datasets": "数据集可视化", + "Access published resources": "访问发布的资源", + "Chain tools into workflows": "将工具链接到工作流程中", + "Analysis home view": "数据分析主页", -// ---------------------------------------------------------------------------- histories -// ---- history/options-menu -"History Lists": - "历史列表", -// Saved histories is defined above. -"Saved Histories": - "保存历史", -"Histories Shared with Me": - "分享给您历史", -"Current History": - "当前历史", -"Create New": - "创建新的历史", -"Copy History": - "复制历史", -"Share or Publish": - "分享或发布历史", -"Show Structure": - "展示结构", -"Extract Workflow": - "提取为工作流", -// Delete is defined elsewhere, but is also in this menu. -"Delete": - "删除", -"Delete Permanently": - "永久删除", -"Dataset Actions": - "数据操作", -"Copy Datasets": - "复制数据集", -"Dataset Security": - "数据安全", -"Resume Paused Jobs": - "恢复已暂停的任务", -"Collapse Expanded Datasets": - false, -"Unhide Hidden Datasets": - "取消隐藏的数据集", -"Delete Hidden Datasets": - "删除隐藏的数据集", -"Purge Deleted Datasets": - "清空已删除的数据集", -"Downloads": - "下载", -"Export Tool Citations": - "导出工具文献引用", -"Export History to File": - "导出历史到文件", -"Other Actions": - "其他操作", -"Import from File": - "从文件导入", -"Webhooks": - false, + // ---------------------------------------------------------------------------- histories + // ---- history/options-menu + "History Lists": "历史列表", + // Saved histories is defined above. + "Saved Histories": "保存历史", + "Histories Shared with Me": "分享给您历史", + "Current History": "当前历史", + "Create New": "创建新的历史", + "Copy History": "复制历史", + "Share or Publish": "分享或发布历史", + "Show Structure": "展示结构", + "Extract Workflow": "提取为工作流", + // Delete is defined elsewhere, but is also in this menu. + Delete: "删除", + "Delete Permanently": "永久删除", + "Dataset Actions": "数据操作", + "Copy Datasets": "复制数据集", + "Dataset Security": "数据安全", + "Resume Paused Jobs": "恢复已暂停的任务", + "Collapse Expanded Datasets": false, + "Unhide Hidden Datasets": "取消隐藏的数据集", + "Delete Hidden Datasets": "删除隐藏的数据集", + "Purge Deleted Datasets": "清空已删除的数据集", + Downloads: "下载", + "Export Tool Citations": "导出工具文献引用", + "Export History to File": "导出历史到文件", + "Other Actions": "其他操作", + "Import from File": "从文件导入", + Webhooks: false, -// ---- history-model -// ---- history-view -"This history is empty" : - "历史已空", -"No matching datasets found" : - "未找到匹配的数据集", -"An error occurred while getting updates from the server" : - "从服务器更新出现错误", -"Please contact a Galaxy administrator if the problem persists" : - "如果问题仍然存在,请联系Galaxy管理员", -//TODO: -"An error was encountered while <% where %>" : - "出现错误,当执行以下操作时: <% where %>", -"search datasets" : - "搜索数据集", -"You are currently viewing a deleted history!" : - "您正在查看已删除的历史记录", -"You are over your disk quota" : - "您超出了您的磁盘配额", -"Tool execution is on hold until your disk usage drops below your allocated quota" : - "工具执行处于暂停状态,直到您的磁盘使用量低于您分配的配额", -"All" : - "所有的", -"None" : - "一个也没有", -"For all selected" : - "为每个选定", + // ---- history-model + // ---- history-view + "This history is empty": "历史已空", + "No matching datasets found": "未找到匹配的数据集", + "An error occurred while getting updates from the server": "从服务器更新出现错误", + "Please contact a Galaxy administrator if the problem persists": "如果问题仍然存在,请联系Galaxy管理员", + //TODO: + "An error was encountered while <% where %>": "出现错误,当执行以下操作时: <% where %>", + "search datasets": "搜索数据集", + "You are currently viewing a deleted history!": "您正在查看已删除的历史记录", + "You are over your disk quota": "您超出了您的磁盘配额", + "Tool execution is on hold until your disk usage drops below your allocated quota": + "工具执行处于暂停状态,直到您的磁盘使用量低于您分配的配额", + All: "所有的", + None: "一个也没有", + "For all selected": "为每个选定", -// ---- history-view-edit -"Edit history tags" : - "编辑历史标签", -"Edit history Annotation" : - "编辑历史备注", -"Click to rename history" : - "单击要重命名的历史", -// multi operations -"Operations on multiple datasets" : - "编辑多个数据集", -"Hide datasets" : - "隐藏数据集", -"Unhide datasets" : - "显示数据集", -"Delete datasets" : - "删除数据集", -"Undelete datasets" : - "取消删除数据集", -"Permanently delete datasets" : - "永久删除数据集", -"This will permanently remove the data in your datasets. Are you sure?" : - "这将永久在您的数据集删除数据。你确定?", + // ---- history-view-edit + "Edit history tags": "编辑历史标签", + "Edit history Annotation": "编辑历史备注", + "Click to rename history": "单击要重命名的历史", + // multi operations + "Operations on multiple datasets": "编辑多个数据集", + "Hide datasets": "隐藏数据集", + "Unhide datasets": "显示数据集", + "Delete datasets": "删除数据集", + "Undelete datasets": "取消删除数据集", + "Permanently delete datasets": "永久删除数据集", + "This will permanently remove the data in your datasets. Are you sure?": "这将永久在您的数据集删除数据。你确定?", -// ---- history-view-annotated -"Dataset" : - "数据", -"Annotation" : - "备注", + // ---- history-view-annotated + Dataset: "数据", + Annotation: "备注", -// ---- history-view-edit-current -"This history is empty. Click 'Get Data' on the left tool menu to start" : - "历史已空,请单击左边窗格中‘获取数据’", -"You must be logged in to create histories" : - "你必须登录后才能创建历史", -//TODO: -"You can " : - "您可以 ", -" or " : - " 或者 ", -"load your own data" : - "上传您的个人数据", -"get data from an external source" : - "从外部来源获取数据", + // ---- history-view-edit-current + "This history is empty. Click 'Get Data' on the left tool menu to start": "历史已空,请单击左边窗格中‘获取数据’", + "You must be logged in to create histories": "你必须登录后才能创建历史", + //TODO: + "You can ": "您可以 ", + " or ": " 或者 ", + "load your own data": "上传您的个人数据", + "get data from an external source": "从外部来源获取数据", -// these aren't in zh/ginga.po and the template doesn't localize -//"Include Deleted Datasets" : -//false, -//"Include Hidden Datasets" : -//false, + // these aren't in zh/ginga.po and the template doesn't localize + //"Include Deleted Datasets" : + //false, + //"Include Hidden Datasets" : + //false, -// ---------------------------------------------------------------------------- datasets -// ---- hda-model -"Unable to purge dataset" : - "无法清除数据集", + // ---------------------------------------------------------------------------- datasets + // ---- hda-model + "Unable to purge dataset": "无法清除数据集", -// ---- hda-base -// display button -"Cannot display datasets removed from disk" : - "无法显示已从磁盘中删除的数据集", -"This dataset must finish uploading before it can be viewed" : - "此数据集必须先完成上传, 然后才能查看", -"This dataset is not yet viewable" : - "此数据集是不可见的", -"View data" : - "查看数据", -// download button -"Download" : - "下载", -"Download dataset" : - "下载数据集", -"Additional files" : - "其他文件", -// info/show_params -"View details" : - "查看详情", + // ---- hda-base + // display button + "Cannot display datasets removed from disk": "无法显示已从磁盘中删除的数据集", + "This dataset must finish uploading before it can be viewed": "此数据集必须先完成上传, 然后才能查看", + "This dataset is not yet viewable": "此数据集是不可见的", + "View data": "查看数据", + // download button + Download: "下载", + "Download dataset": "下载数据集", + "Additional files": "其他文件", + // info/show_params + "View details": "查看详情", -// dataset states -// state: new -"This is a new dataset and not all of its data are available yet" : - "这是一个新的数据集,并不是所有的数据都可用" , -// state: noPermission -"You do not have permission to view this dataset" : - "您无权查看此数据集", -// state: discarded -"The job creating this dataset was cancelled before completion" : - "创建此数据集的任务在完成之前已被取消", -// state: queued -"This job is waiting to run" : - "任务正在等待运行", -// state: upload -"This dataset is currently uploading" : - "此数据集正在上传中", -// state: setting_metadata -"Metadata is being auto-detected" : - "元数据正在被自动检测中", -// state: running -"This job is currently running" : - "任务正在运行中", -// state: paused -"This job is paused. Use the \"Resume Paused Jobs\" in the history menu to resume" : - "此任务已暂停。使用历史菜单中的 \"恢复已暂停的工作\" 来恢复", -// state: error -"An error occurred with this dataset" : - "此数据集发生错误", -// state: empty -"No data" : - "没有数据", -// state: failed_metadata -"An error occurred setting the metadata for this dataset" : - "设置此数据集的元数据时发生错误", + // dataset states + // state: new + "This is a new dataset and not all of its data are available yet": "这是一个新的数据集,并不是所有的数据都可用", + // state: noPermission + "You do not have permission to view this dataset": "您无权查看此数据集", + // state: discarded + "The job creating this dataset was cancelled before completion": "创建此数据集的任务在完成之前已被取消", + // state: queued + "This job is waiting to run": "任务正在等待运行", + // state: upload + "This dataset is currently uploading": "此数据集正在上传中", + // state: setting_metadata + "Metadata is being auto-detected": "元数据正在被自动检测中", + // state: running + "This job is currently running": "任务正在运行中", + // state: paused + 'This job is paused. Use the "Resume Paused Jobs" in the history menu to resume': + '此任务已暂停。使用历史菜单中的 "恢复已暂停的工作" 来恢复', + // state: error + "An error occurred with this dataset": "此数据集发生错误", + // state: empty + "No data": "没有数据", + // state: failed_metadata + "An error occurred setting the metadata for this dataset": "设置此数据集的元数据时发生错误", -// ajax error prefix -"There was an error getting the data for this dataset" : - "获取此数据集的数据时出错", + // ajax error prefix + "There was an error getting the data for this dataset": "获取此数据集的数据时出错", -// purged'd/del'd msg -"This dataset has been deleted and removed from disk" : - "此数据集已被删除并从磁盘中删除", -"This dataset has been deleted" : - "此数据集已被删除", -"This dataset has been hidden" : - "此数据集已被隐藏", + // purged'd/del'd msg + "This dataset has been deleted and removed from disk": "此数据集已被删除并从磁盘中删除", + "This dataset has been deleted": "此数据集已被删除", + "This dataset has been hidden": "此数据集已被隐藏", -"format" : - "格式", -"database" : - "数据库", + format: "格式", + database: "数据库", -// ---- hda-edit -"Edit attributes" : - "编辑属性", -"Cannot edit attributes of datasets removed from disk" : - "无法编辑已从磁盘中删除的数据集的属性", -"Undelete dataset to edit attributes" : - "取消删除数据集以编辑属性", -"This dataset must finish uploading before it can be edited" : - "该数据集必须先上传完成, 然后才能编辑", -"This dataset is not yet editable" : - "该数据集不可编辑", + // ---- hda-edit + "Edit attributes": "编辑属性", + "Cannot edit attributes of datasets removed from disk": "无法编辑已从磁盘中删除的数据集的属性", + "Undelete dataset to edit attributes": "取消删除数据集以编辑属性", + "This dataset must finish uploading before it can be edited": "该数据集必须先上传完成, 然后才能编辑", + "This dataset is not yet editable": "该数据集不可编辑", -"Delete" : - "删除", -"Dataset is already deleted" : - "数据集已被删除", + Delete: "删除", + "Dataset is already deleted": "数据集已被删除", -"View or report this error" : - "查看或报告此错误", + "View or report this error": "查看或报告此错误", -"Run this job again" : - "重新运行此任务", + "Run this job again": "重新运行此任务", -"Visualize" : - "可视化", -"Visualize in" : - "的可视化", + Visualize: "可视化", + "Visualize in": "的可视化", -"Undelete it" : - "取消删除", -"Permanently remove it from disk" : - "从磁盘中永久删除", -"Unhide it" : - "取消隐藏", + "Undelete it": "取消删除", + "Permanently remove it from disk": "从磁盘中永久删除", + "Unhide it": "取消隐藏", -"You may be able to" : - "您可能可以", -"set it manually or retry auto-detection" : - "手动设置或重试自动检测", + "You may be able to": "您可能可以", + "set it manually or retry auto-detection": "手动设置或重试自动检测", -"Edit dataset tags" : - "编辑数据集标签", -"Edit dataset annotation" : - "编辑数据集备注", + "Edit dataset tags": "编辑数据集标签", + "Edit dataset annotation": "编辑数据集备注", -"Tool Help" : - "工具帮助", + "Tool Help": "工具帮助", -// ---------------------------------------------------------------------------- admin -"Search Tool Shed": - "搜索 Tool Shed", -"Monitor installing repositories": - "", -"Manage installed tools": - "管理已安装的工具", -"Reset metadata": - "重置元数据", -"Download local tool": - "下载本地工具", -"Tool lineage": - false, -"Reload a tool's configuration": - "重新加载工具的配置", -"Review tool migration stages": - "查看工具迁移状态", -"View Tool Error Logs": - "查看工具错误日志", -"Manage Display Whitelist": - "管理显示白名单", -"Manage Tool Dependencies": - "管理工具依赖", -"Users": - "用户", -"Groups": - "组别", -"API keys": - false, -"Impersonate a user": - "模拟用户", -"Data": - "数据", -"Quotas": - "配额", -"Roles": - "角色", -"Local data": - "本地数据", -"Form Definitions": - "定义表单", + // ---------------------------------------------------------------------------- admin + "Search Tool Shed": "搜索 Tool Shed", + "Monitor installing repositories": "", + "Manage installed tools": "管理已安装的工具", + "Reset metadata": "重置元数据", + "Download local tool": "下载本地工具", + "Tool lineage": false, + "Reload a tool's configuration": "重新加载工具的配置", + "Review tool migration stages": "查看工具迁移状态", + "View Tool Error Logs": "查看工具错误日志", + "Manage Display Whitelist": "管理显示白名单", + "Manage Tool Dependencies": "管理工具依赖", + Users: "用户", + Groups: "组别", + "API keys": false, + "Impersonate a user": "模拟用户", + Data: "数据", + Quotas: "配额", + Roles: "角色", + "Local data": "本地数据", + "Form Definitions": "定义表单", -// ---------------------------------------------------------------------------- Scratchbook -"Enable/Disable Scratchbook": - "启用/禁用 Scratchbook", -"Show/Hide Scratchbook": - "显示/隐藏 Scratchbook", + // ---------------------------------------------------------------------------- Scratchbook + "Enable/Disable Scratchbook": "启用/禁用 Scratchbook", + "Show/Hide Scratchbook": "显示/隐藏 Scratchbook", -// ---------------------------------------------------------------------------- misc. MVC -"Tags" : - "标签", -"Edit annotation" : - "编辑备注", + // ---------------------------------------------------------------------------- misc. MVC + Tags: "标签", + "Edit annotation": "编辑备注", + // ---------------------------------------------------------------------------- -// ---------------------------------------------------------------------------- - - 'ja' : true, - 'fr' : true, - 'zh' : true + ja: true, + fr: true, + zh: true }); From 1b301ba604723e36530d323c79d5378516e95d0c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 19 Dec 2017 13:12:31 -0500 Subject: [PATCH 3/3] Build client --- static/scripts/bundled/libs.bundled.js | 16 ++++++++-------- static/scripts/nls/zh/locale.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/static/scripts/bundled/libs.bundled.js b/static/scripts/bundled/libs.bundled.js index 3afa58f04c9..776fd89c462 100644 --- a/static/scripts/bundled/libs.bundled.js +++ b/static/scripts/bundled/libs.bundled.js @@ -11,7 +11,7 @@ * * Date: 2016-05-20T17:23Z */ -!function(e,i){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,function(i,a){function o(t){var e=!!t&&"length"in t&&t.length,i=lt.type(t);return"function"!==i&&!lt.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function s(t,e,i){if(lt.isFunction(e))return lt.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return lt.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(_t.test(e))return lt.filter(e,t,i);e=lt.filter(e,t)}return lt.grep(t,function(t){return nt.call(e,t)>-1!==i})}function l(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function u(t){var e={};return lt.each(t.match(Ct)||[],function(t,i){e[i]=!0}),e}function c(){Z.removeEventListener("DOMContentLoaded",c),i.removeEventListener("load",c),lt.ready()}function h(){this.expando=lt.expando+h.uid++}function d(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Ot,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Et.test(i)?lt.parseJSON(i):i)}catch(t){}Mt.set(t,e,i)}else i=void 0;return i}function f(t,e,i,n){var r,a=1,o=20,s=n?function(){return n.cur()}:function(){return lt.css(t,e,"")},l=s(),u=i&&i[3]||(lt.cssNumber[e]?"":"px"),c=(lt.cssNumber[e]||"px"!==u&&+l)&&Dt.exec(lt.css(t,e));if(c&&c[3]!==u){u=u||c[3],i=i||[],c=+l||1;do{a=a||".5",c/=a,lt.style(t,e,c+u)}while(a!==(a=s()/l)&&1!==a&&--o)}return i&&(c=+c||+l||0,r=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=r)),r}function p(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&<.nodeName(t,e)?lt.merge([t],i):i}function m(t,e){for(var i=0,n=t.length;i-1)r&&r.push(a);else if(u=lt.contains(a.ownerDocument,a),o=p(h.appendChild(a),"script"),u&&m(o),i)for(c=0;a=o[c++];)Nt.test(a.type||"")&&i.push(a);return h}function v(){return!0}function _(){return!1}function y(){try{return Z.activeElement}catch(t){}}function b(t,e,i,n,r,a){var o,s;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(s in e)b(t,s,i,n,e[s],a);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=_;else if(!r)return t;return 1===a&&(o=r,r=function(t){return lt().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=lt.guid++)),t.each(function(){lt.event.add(this,e,r,n,i)})}function w(t,e){return lt.nodeName(t,"table")&<.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function x(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function C(t){var e=Wt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function k(t,e){var i,n,r,a,o,s,l,u;if(1===e.nodeType){if(At.hasData(t)&&(a=At.access(t),o=At.set(e,a),u=a.events)){delete o.handle,o.events={};for(r in u)for(i=0,n=u[r].length;i1&&"string"==typeof f&&!st.checkClone&&Ut.test(f))return t.each(function(r){var a=t.eq(r);m&&(e[0]=f.call(this,r,a.html())),T(a,e,i,n)});if(h&&(r=g(e,t[0].ownerDocument,!1,t,n),a=r.firstChild,1===r.childNodes.length&&(r=a),a||n)){for(o=lt.map(p(r,"script"),x),s=o.length;c")).appendTo(e.documentElement),e=Xt[0].contentDocument,e.write(),e.close(),i=M(t,e),Xt.detach()),Yt[t]=i),i}function O(t,e,i){var n,r,a,o,s=t.style;return i=i||Qt(t),o=i?i.getPropertyValue(e)||i[e]:void 0,""!==o&&void 0!==o||lt.contains(t.ownerDocument,t)||(o=lt.style(t,e)),i&&!st.pixelMarginRight()&&Kt.test(o)&&Jt.test(e)&&(n=s.width,r=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=i.width,s.width=n,s.minWidth=r,s.maxWidth=a),void 0!==o?o+"":o}function $(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function D(t){if(t in ae)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=re.length;i--;)if((t=re[i]+e)in ae)return t}function j(t,e,i){var n=Dt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function P(t,e,i,n,r){for(var a=i===(n?"border":"content")?4:"width"===e?1:0,o=0;a<4;a+=2)"margin"===i&&(o+=lt.css(t,i+jt[a],!0,r)),n?("content"===i&&(o-=lt.css(t,"padding"+jt[a],!0,r)),"margin"!==i&&(o-=lt.css(t,"border"+jt[a]+"Width",!0,r))):(o+=lt.css(t,"padding"+jt[a],!0,r),"padding"!==i&&(o+=lt.css(t,"border"+jt[a]+"Width",!0,r)));return o}function R(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,a=Qt(t),o="border-box"===lt.css(t,"boxSizing",!1,a);if(r<=0||null==r){if(r=O(t,e,a),(r<0||null==r)&&(r=t.style[e]),Kt.test(r))return r;n=o&&(st.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+P(t,e,i||(o?"border":"content"),n,a)+"px"}function I(t,e){for(var i,n,r,a=[],o=0,s=t.length;o=0&&i=0},isPlainObject:function(t){var e;if("object"!==lt.type(t)||t.nodeType||lt.isWindow(t))return!1;if(t.constructor&&!ot.call(t,"constructor")&&!ot.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||ot.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?rt[at.call(t)]||"object":typeof t},globalEval:function(t){var e,i=eval;(t=lt.trim(t))&&(1===t.indexOf("use strict")?(e=Z.createElement("script"),e.text=t,Z.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(ct,"ms-").replace(ht,dt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,n=0;if(o(t))for(i=t.length;n0&&e-1 in t)}function s(t,e,i){if(lt.isFunction(e))return lt.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return lt.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(_t.test(e))return lt.filter(e,t,i);e=lt.filter(e,t)}return lt.grep(t,function(t){return nt.call(e,t)>-1!==i})}function l(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function u(t){var e={};return lt.each(t.match(Ct)||[],function(t,i){e[i]=!0}),e}function c(){Z.removeEventListener("DOMContentLoaded",c),i.removeEventListener("load",c),lt.ready()}function h(){this.expando=lt.expando+h.uid++}function d(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Ot,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Et.test(i)?lt.parseJSON(i):i)}catch(t){}Mt.set(t,e,i)}else i=void 0;return i}function f(t,e,i,n){var r,a=1,o=20,s=n?function(){return n.cur()}:function(){return lt.css(t,e,"")},l=s(),u=i&&i[3]||(lt.cssNumber[e]?"":"px"),c=(lt.cssNumber[e]||"px"!==u&&+l)&&Dt.exec(lt.css(t,e));if(c&&c[3]!==u){u=u||c[3],i=i||[],c=+l||1;do{a=a||".5",c/=a,lt.style(t,e,c+u)}while(a!==(a=s()/l)&&1!==a&&--o)}return i&&(c=+c||+l||0,r=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=r)),r}function p(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&<.nodeName(t,e)?lt.merge([t],i):i}function m(t,e){for(var i=0,n=t.length;i-1)r&&r.push(a);else if(u=lt.contains(a.ownerDocument,a),o=p(h.appendChild(a),"script"),u&&m(o),i)for(c=0;a=o[c++];)Nt.test(a.type||"")&&i.push(a);return h}function v(){return!0}function _(){return!1}function y(){try{return Z.activeElement}catch(t){}}function b(t,e,i,n,r,a){var o,s;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(s in e)b(t,s,i,n,e[s],a);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=_;else if(!r)return t;return 1===a&&(o=r,r=function(t){return lt().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=lt.guid++)),t.each(function(){lt.event.add(this,e,r,n,i)})}function w(t,e){return lt.nodeName(t,"table")&<.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function x(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function C(t){var e=Wt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function k(t,e){var i,n,r,a,o,s,l,u;if(1===e.nodeType){if(At.hasData(t)&&(a=At.access(t),o=At.set(e,a),u=a.events)){delete o.handle,o.events={};for(r in u)for(i=0,n=u[r].length;i1&&"string"==typeof f&&!st.checkClone&&Ut.test(f))return t.each(function(r){var a=t.eq(r);m&&(e[0]=f.call(this,r,a.html())),T(a,e,i,n)});if(h&&(r=g(e,t[0].ownerDocument,!1,t,n),a=r.firstChild,1===r.childNodes.length&&(r=a),a||n)){for(o=lt.map(p(r,"script"),x),s=o.length;c")).appendTo(e.documentElement),e=Xt[0].contentDocument,e.write(),e.close(),i=M(t,e),Xt.detach()),Yt[t]=i),i}function O(t,e,i){var n,r,a,o,s=t.style;return i=i||Qt(t),o=i?i.getPropertyValue(e)||i[e]:void 0,""!==o&&void 0!==o||lt.contains(t.ownerDocument,t)||(o=lt.style(t,e)),i&&!st.pixelMarginRight()&&Kt.test(o)&&Jt.test(e)&&(n=s.width,r=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=i.width,s.width=n,s.minWidth=r,s.maxWidth=a),void 0!==o?o+"":o}function $(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function D(t){if(t in ae)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=re.length;i--;)if((t=re[i]+e)in ae)return t}function j(t,e,i){var n=Dt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function P(t,e,i,n,r){for(var a=i===(n?"border":"content")?4:"width"===e?1:0,o=0;a<4;a+=2)"margin"===i&&(o+=lt.css(t,i+jt[a],!0,r)),n?("content"===i&&(o-=lt.css(t,"padding"+jt[a],!0,r)),"margin"!==i&&(o-=lt.css(t,"border"+jt[a]+"Width",!0,r))):(o+=lt.css(t,"padding"+jt[a],!0,r),"padding"!==i&&(o+=lt.css(t,"border"+jt[a]+"Width",!0,r)));return o}function R(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,a=Qt(t),o="border-box"===lt.css(t,"boxSizing",!1,a);if(r<=0||null==r){if(r=O(t,e,a),(r<0||null==r)&&(r=t.style[e]),Kt.test(r))return r;n=o&&(st.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+P(t,e,i||(o?"border":"content"),n,a)+"px"}function I(t,e){for(var i,n,r,a=[],o=0,s=t.length;o=0&&i=0},isPlainObject:function(t){var e;if("object"!==lt.type(t)||t.nodeType||lt.isWindow(t))return!1;if(t.constructor&&!ot.call(t,"constructor")&&!ot.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||ot.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?rt[at.call(t)]||"object":typeof t},globalEval:function(t){var e,i=eval;(t=lt.trim(t))&&(1===t.indexOf("use strict")?(e=Z.createElement("script"),e.text=t,Z.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(ct,"ms-").replace(ht,dt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,n=0;if(o(t))for(i=t.length;nb.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[N]=!0,t}function r(t){var e=O.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function o(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function s(t){return n(function(e){return e=+e,n(function(i,n){for(var r,a=t([],i.length,e),o=a.length;o--;)i[r=a[o]]&&(i[r]=!(n[r]=i[r]))})})}function l(t){return t&&void 0!==t.getElementsByTagName&&t}function u(){}function c(t){for(var e=0,i=t.length,n="";e1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function f(t,i,n){for(var r=0,a=i.length;r-1&&(n[u]=!(o[u]=h))}}else y=p(y===o?y.splice(g,y.length):y),a?a(null,o,y,l):J.apply(o,y)})}function g(t){for(var e,i,n,r=t.length,a=b.relative[t[0].type],o=a||b.relative[" "],s=a?1:0,l=h(function(t){return t===e},o,!0),u=h(function(t){return Q(e,t)>-1},o,!0),f=[function(t,i,n){var r=!a&&(n||i!==T)||((e=i).nodeType?l(t,i,n):u(t,i,n));return e=null,r}];s1&&d(f),s>1&&c(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(at,"$1"),i,s0,a=t.length>0,o=function(n,o,s,l,u){var c,h,d,f=0,m="0",g=n&&[],v=[],_=T,y=n||a&&b.find.TAG("*",u),w=z+=null==_?1:Math.random()||.1,x=y.length;for(u&&(T=o===O||o||u);m!==x&&null!=(c=y[m]);m++){if(a&&c){for(h=0,o||c.ownerDocument===O||(E(c),s=!D);d=t[h++];)if(d(c,o||O,s)){l.push(c);break}u&&(z=w)}r&&((c=!d&&c)&&f--,n&&g.push(c))}if(f+=m,r&&m!==f){for(h=0;d=i[h++];)d(g,v,o,s);if(n){if(f>0)for(;m--;)g[m]||v[m]||(v[m]=X.call(l));v=p(v)}J.apply(l,v),u&&!n&&v.length>0&&f+i.length>1&&e.uniqueSort(l)}return u&&(z=w,T=_),g};return r?n(o):o}var _,y,b,w,x,C,k,S,T,A,M,E,O,$,D,j,P,R,I,N="sizzle"+1*new Date,L=t.document,z=0,H=0,q=i(),F=i(),B=i(),V=function(t,e){return t===e&&(M=!0),0},U=1<<31,W={}.hasOwnProperty,G=[],X=G.pop,Y=G.push,J=G.push,K=G.slice,Q=function(t,e){for(var i=0,n=t.length;i+~]|"+tt+")"+tt+"*"),lt=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ut=new RegExp(nt),ct=new RegExp("^"+et+"$"),ht={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=/'|\\/g,_t=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),yt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},bt=function(){E()};try{J.apply(G=K.call(L.childNodes),L.childNodes),G[L.childNodes.length].nodeType}catch(t){J={apply:G.length?function(t,e){Y.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}y=e.support={},x=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},E=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:L;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,$=O.documentElement,D=!x(O),(i=O.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",bt,!1):i.attachEvent&&i.attachEvent("onunload",bt)),y.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=r(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=pt.test(O.getElementsByClassName),y.getById=r(function(t){return $.appendChild(t).id=N,!O.getElementsByName||!O.getElementsByName(N).length}),y.getById?(b.find.ID=function(t,e){if(void 0!==e.getElementById&&D){var i=e.getElementById(t);return i?[i]:[]}},b.filter.ID=function(t){var e=t.replace(_t,yt);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var e=t.replace(_t,yt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),b.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,a=e.getElementsByTagName(t);if("*"===t){for(;i=a[r++];)1===i.nodeType&&n.push(i);return n}return a},b.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&D)return e.getElementsByClassName(t)},P=[],j=[],(y.qsa=pt.test(O.querySelectorAll))&&(r(function(t){$.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||j.push("\\["+tt+"*(?:value|"+Z+")"),t.querySelectorAll("[id~="+N+"-]").length||j.push("~="),t.querySelectorAll(":checked").length||j.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||j.push(".#.+[+~]")}),r(function(t){var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&j.push("name"+tt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||j.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),j.push(",.*:")})),(y.matchesSelector=pt.test(R=$.matches||$.webkitMatchesSelector||$.mozMatchesSelector||$.oMatchesSelector||$.msMatchesSelector))&&r(function(t){y.disconnectedMatch=R.call(t,"div"),R.call(t,"[s!='']:x"),P.push("!=",nt)}),j=j.length&&new RegExp(j.join("|")),P=P.length&&new RegExp(P.join("|")),e=pt.test($.compareDocumentPosition),I=e||pt.test($.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return M=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!y.sortDetached&&e.compareDocumentPosition(t)===i?t===O||t.ownerDocument===L&&I(L,t)?-1:e===O||e.ownerDocument===L&&I(L,e)?1:A?Q(A,t)-Q(A,e):0:4&i?-1:1)}:function(t,e){if(t===e)return M=!0,0;var i,n=0,r=t.parentNode,a=e.parentNode,s=[t],l=[e];if(!r||!a)return t===O?-1:e===O?1:r?-1:a?1:A?Q(A,t)-Q(A,e):0;if(r===a)return o(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;s[n]===l[n];)n++;return n?o(s[n],l[n]):s[n]===L?-1:l[n]===L?1:0},O):O},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==O&&E(t),i=i.replace(lt,"='$1']"),y.matchesSelector&&D&&!B[i+" "]&&(!P||!P.test(i))&&(!j||!j.test(i)))try{var n=R.call(t,i);if(n||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&E(t),I(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&E(t);var i=b.attrHandle[e.toLowerCase()],n=i&&W.call(b.attrHandle,e.toLowerCase())?i(t,e,!D):void 0;return void 0!==n?n:y.attributes||!D?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(M=!y.detectDuplicates,A=!y.sortStable&&t.slice(0),t.sort(V),M){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return A=null,t},w=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=w(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=w(e);return i},b=e.selectors={cacheLength:50,createPseudo:n,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(_t,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(_t,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(_t,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var a=e.attr(r,t);return null==a?"!="===i:!i||(a+="","="===i?a===n:"!="===i?a!==n:"^="===i?n&&0===a.indexOf(n):"*="===i?n&&a.indexOf(n)>-1:"$="===i?n&&a.slice(-n.length)===n:"~="===i?(" "+a.replace(rt," ")+" ").indexOf(n)>-1:"|="===i&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,r){var a="nth"!==t.slice(0,3),o="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var u,c,h,d,f,p,m=a!==o?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),_=!l&&!s,y=!1;if(g){if(a){for(;m;){for(d=e;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&_){for(d=g,h=d[N]||(d[N]={}),c=h[d.uniqueID]||(h[d.uniqueID]={}),u=c[t]||[],f=u[0]===z&&u[1],y=f&&u[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(y=f=0)||p.pop();)if(1===d.nodeType&&++y&&d===e){c[t]=[z,f,y];break}}else if(_&&(d=e,h=d[N]||(d[N]={}),c=h[d.uniqueID]||(h[d.uniqueID]={}),u=c[t]||[],f=u[0]===z&&u[1],y=f),!1===y)for(;(d=++f&&d&&d[m]||(y=f=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(_&&(h=d[N]||(d[N]={}),c=h[d.uniqueID]||(h[d.uniqueID]={}),c[t]=[z,y]),d!==e)););return(y-=r)===n||y%n==0&&y/n>=0}}},PSEUDO:function(t,i){var r,a=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[N]?a(i):a.length>1?(r=[t,t,"",i],b.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=a(t,i),o=r.length;o--;)n=Q(t,r[o]),t[n]=!(e[n]=r[o])}):function(t){return a(t,0,r)}):a}},pseudos:{not:n(function(t){var e=[],i=[],r=k(t.replace(at,"$1"));return r[N]?n(function(t,e,i,n){for(var a,o=r(t,null,n,[]),s=t.length;s--;)(a=o[s])&&(t[s]=!(e[s]=a))}):function(t,n,a){return e[0]=t,r(e,null,a,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(_t,yt),function(e){return(e.textContent||e.innerText||w(e)).indexOf(t)>-1}}),lang:n(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(_t,yt).toLowerCase(),function(e){var i;do{if(i=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===$},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:s(function(){return[0]}),last:s(function(t,e){return[e-1]}),eq:s(function(t,e,i){return[i<0?i+e:i]}),even:s(function(t,e){for(var i=0;i=0;)t.push(n);return t}),gt:s(function(t,e,i){for(var n=i<0?i+e:i;++n2&&"ID"===(o=a[0]).type&&y.getById&&9===e.nodeType&&D&&b.relative[a[1].type]){if(!(e=(b.find.ID(o.matches[0].replace(_t,yt),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(r=ht.needsContext.test(t)?0:a.length;r--&&(o=a[r],!b.relative[s=o.type]);)if((u=b.find[s])&&(n=u(o.matches[0].replace(_t,yt),gt.test(a[0].type)&&l(e.parentNode)||e))){if(a.splice(r,1),!(t=n.length&&c(a)))return J.apply(i,n),i;break}}return(h||k(t,d))(n,e,!D,i,!e||gt.test(t)&&l(e.parentNode)||e),i},y.sortStable=N.split("").sort(V).join("")===N,y.detectDuplicates=!!M,E(),y.sortDetached=r(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),r(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),y.attributes&&r(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||a(Z,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(i);lt.find=ft,lt.expr=ft.selectors,lt.expr[":"]=lt.expr.pseudos,lt.uniqueSort=lt.unique=ft.uniqueSort,lt.text=ft.getText,lt.isXMLDoc=ft.isXML,lt.contains=ft.contains;var pt=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&<(t).is(i))break;n.push(t)}return n},mt=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},gt=lt.expr.match.needsContext,vt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,_t=/^.[^:#\[\.,]*$/;lt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?lt.find.matchesSelector(n,t)?[n]:[]:lt.find.matches(t,lt.grep(e,function(t){return 1===t.nodeType}))},lt.fn.extend({find:function(t){var e,i=this.length,n=[],r=this;if("string"!=typeof t)return this.pushStack(lt(t).filter(function(){for(e=0;e1?lt.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(s(this,t||[],!1))},not:function(t){return this.pushStack(s(this,t||[],!0))},is:function(t){return!!s(this,"string"==typeof t&>.test(t)?lt(t):t||[],!1).length}});var yt,bt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(lt.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||yt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:bt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof lt?e[0]:e,lt.merge(this,lt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Z,!0)),vt.test(n[1])&<.isPlainObject(e))for(n in e)lt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return r=Z.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=Z,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):lt.isFunction(t)?void 0!==i.ready?i.ready(t):t(lt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),lt.makeArray(t,this))}).prototype=lt.fn,yt=lt(Z);var wt=/^(?:parents|prev(?:Until|All))/,xt={children:!0,contents:!0,next:!0,prev:!0};lt.fn.extend({has:function(t){var e=lt(t,this),i=e.length;return this.filter(function(){for(var t=0;t-1:1===i.nodeType&<.find.matchesSelector(i,t))){a.push(i);break}return this.pushStack(a.length>1?lt.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?nt.call(lt(t),this[0]):nt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(lt.uniqueSort(lt.merge(this.get(),lt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),lt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return pt(t,"parentNode")},parentsUntil:function(t,e,i){return pt(t,"parentNode",i)},next:function(t){return l(t,"nextSibling")},prev:function(t){return l(t,"previousSibling")},nextAll:function(t){return pt(t,"nextSibling")},prevAll:function(t){return pt(t,"previousSibling")},nextUntil:function(t,e,i){return pt(t,"nextSibling",i)},prevUntil:function(t,e,i){return pt(t,"previousSibling",i)},siblings:function(t){return mt((t.parentNode||{}).firstChild,t)},children:function(t){return mt(t.firstChild)},contents:function(t){return t.contentDocument||lt.merge([],t.childNodes)}},function(t,e){lt.fn[t]=function(i,n){var r=lt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=lt.filter(n,r)),this.length>1&&(xt[t]||lt.uniqueSort(r),wt.test(t)&&r.reverse()),this.pushStack(r)}});var Ct=/\S+/g;lt.Callbacks=function(t){t="string"==typeof t?u(t):lt.extend({},t);var e,i,n,r,a=[],o=[],s=-1,l=function(){for(r=t.once,n=e=!0;o.length;s=-1)for(i=o.shift();++s-1;)a.splice(i,1),i<=s&&s--}),this},has:function(t){return t?lt.inArray(t,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return r=o=[],a=i="",this},disabled:function(){return!a},lock:function(){return r=o=[],i||(a=i=""),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=i||[],i=[t,i.slice?i.slice():i],o.push(i),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},lt.extend({Deferred:function(t){var e=[["resolve","done",lt.Callbacks("once memory"),"resolved"],["reject","fail",lt.Callbacks("once memory"),"rejected"],["notify","progress",lt.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return lt.Deferred(function(i){lt.each(e,function(e,a){var o=lt.isFunction(t[e])&&t[e];r[a[1]](function(){var t=o&&o.apply(this,arguments);t&<.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[a[0]+"With"](this===n?i.promise():this,o?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?lt.extend(t,n):n}},r={};return n.pipe=n.then,lt.each(e,function(t,a){var o=a[2],s=a[3];n[a[1]]=o.add,s&&o.add(function(){i=s},e[1^t][2].disable,e[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?n:this,arguments),this},r[a[0]+"With"]=o.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,a=tt.call(arguments),o=a.length,s=1!==o||t&<.isFunction(t.promise)?o:0,l=1===s?t:lt.Deferred(),u=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?tt.call(arguments):r,n===e?l.notifyWith(i,n):--s||l.resolveWith(i,n)}};if(o>1)for(e=new Array(o),i=new Array(o),n=new Array(o);r0||(kt.resolveWith(Z,[lt]),lt.fn.triggerHandler&&(lt(Z).triggerHandler("ready"),lt(Z).off("ready"))))}}),lt.ready.promise=function(t){return kt||(kt=lt.Deferred(),"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?i.setTimeout(lt.ready):(Z.addEventListener("DOMContentLoaded",c),i.addEventListener("load",c))),kt.promise(t)},lt.ready.promise();var St=function(t,e,i,n,r,a,o){var s=0,l=t.length,u=null==i;if("object"===lt.type(i)){r=!0;for(s in i)St(t,e,s,i[s],!0,a,o)}else if(void 0!==n&&(r=!0,lt.isFunction(n)||(o=!0),u&&(o?(e.call(t,n),e=null):(u=e,e=function(t,e,i){return u.call(lt(t),i)})),e))for(;s-1&&void 0!==i&&Mt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Mt.remove(this,t)})}}),lt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=At.get(t,e),i&&(!n||lt.isArray(i)?n=At.access(t,e,lt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=lt.queue(t,e),n=i.length,r=i.shift(),a=lt._queueHooks(t,e),o=function(){lt.dequeue(t,e)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete a.stop,r.call(t,o,a)),!n&&a&&a.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return At.get(t,i)||At.access(t,i,{empty:lt.Callbacks("once memory").add(function(){At.remove(t,[e+"queue",i])})})}}),lt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Lt.optgroup=Lt.option,Lt.tbody=Lt.tfoot=Lt.colgroup=Lt.caption=Lt.thead,Lt.th=Lt.td;var zt=/<|&#?\w+;/;!function(){var t=Z.createDocumentFragment(),e=t.appendChild(Z.createElement("div")),i=Z.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),st.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",st.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ht=/^key/,qt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ft=/^([^.]*)(?:\.(.+)|)/;lt.event={global:{},add:function(t,e,i,n,r){var a,o,s,l,u,c,h,d,f,p,m,g=At.get(t);if(g)for(i.handler&&(a=i,i=a.handler,r=a.selector),i.guid||(i.guid=lt.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(e){return void 0!==lt&<.event.triggered!==e.type?lt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ct)||[""],u=e.length;u--;)s=Ft.exec(e[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(h=lt.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=lt.event.special[f]||{},c=lt.extend({type:f,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&<.expr.match.needsContext.test(r),namespace:p.join(".")},a),(d=l[f])||(d=l[f]=[],d.delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,o)||t.addEventListener&&t.addEventListener(f,o)),h.add&&(h.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,c):d.push(c),lt.event.global[f]=!0)},remove:function(t,e,i,n,r){var a,o,s,l,u,c,h,d,f,p,m,g=At.hasData(t)&&At.get(t);if(g&&(l=g.events)){for(e=(e||"").match(Ct)||[""],u=e.length;u--;)if(s=Ft.exec(e[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(h=lt.event.special[f]||{},f=(n?h.delegateType:h.bindType)||f,d=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)c=d[a],!r&&m!==c.origType||i&&i.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(a,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(t,c));o&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,g.handle)||lt.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)lt.event.remove(t,f+e[u],i,n,!0);lt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){t=lt.event.fix(t);var e,i,n,r,a,o=[],s=tt.call(arguments),l=(At.get(this,"events")||{})[t.type]||[],u=lt.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(o=lt.event.handlers.call(this,t,l),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,i=0;(a=r.handlers[i++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(n=((lt.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,s))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,a,o=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(n=[],i=0;i-1:lt.find(r,this,null,[l]).length),n[r]&&n.push(a);n.length&&o.push({elem:l,handlers:n})}return s]*)\/>/gi,Vt=/\s*$/g;lt.extend({htmlPrefilter:function(t){return t.replace(Bt,"<$1>")},clone:function(t,e,i){var n,r,a,o,s=t.cloneNode(!0),l=lt.contains(t.ownerDocument,t);if(!(st.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||lt.isXMLDoc(t)))for(o=p(s),a=p(t),n=0,r=a.length;n0&&m(o,!l&&p(t,"script")),s},cleanData:function(t){for(var e,i,n,r=lt.event.special,a=0;void 0!==(i=t[a]);a++)if(Tt(i)){if(e=i[At.expando]){if(e.events)for(n in e.events)r[n]?lt.event.remove(i,n):lt.removeEvent(i,n,e.handle);i[At.expando]=void 0}i[Mt.expando]&&(i[Mt.expando]=void 0)}}}),lt.fn.extend({domManip:T,detach:function(t){return A(this,t,!0)},remove:function(t){return A(this,t)},text:function(t){return St(this,function(t){return void 0===t?lt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return T(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){w(this,t).appendChild(t)}})},prepend:function(){return T(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=w(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return T(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return T(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(lt.cleanData(p(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return lt.clone(this,t,e)})},html:function(t){return St(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Vt.test(t)&&!Lt[(It.exec(t)||["",""])[1].toLowerCase()]){t=lt.htmlPrefilter(t);try{for(;i1)},show:function(){return I(this,!0)},hide:function(){return I(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Pt(this)?lt(this).show():lt(this).hide()})}}),lt.Tween=N,N.prototype={constructor:N,init:function(t,e,i,n,r,a){this.elem=t,this.prop=i,this.easing=r||lt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=a||(lt.cssNumber[i]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,i=N.propHooks[this.prop];return this.options.duration?this.pos=e=lt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=lt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){lt.fx.step[t.prop]?lt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[lt.cssProps[t.prop]]&&!lt.cssHooks[t.prop]?t.elem[t.prop]=t.now:lt.style(t.elem,t.prop,t.now+t.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},lt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},lt.fx=N.prototype.init,lt.fx.step={};var oe,se,le=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;lt.Animation=lt.extend(B,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return f(i.elem,t,Dt.exec(e),i),i}]},tweener:function(t,e){lt.isFunction(t)?(e=t,t=["*"]):t=t.match(Ct);for(var i,n=0,r=t.length;n1)},removeAttr:function(t){return this.each(function(){lt.removeAttr(this,t)})}}),lt.extend({attr:function(t,e,i){var n,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===t.getAttribute?lt.prop(t,e,i):(1===a&<.isXMLDoc(t)||(e=e.toLowerCase(),r=lt.attrHooks[e]||(lt.expr.match.bool.test(e)?ce:void 0)),void 0!==i?null===i?void lt.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:(n=lt.find.attr(t,e),null==n?void 0:n))},attrHooks:{type:{set:function(t,e){if(!st.radioValue&&"radio"===e&<.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n,r=0,a=e&&e.match(Ct);if(a&&1===t.nodeType)for(;i=a[r++];)n=lt.propFix[i]||i,lt.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)}}),ce={set:function(t,e,i){return!1===e?lt.removeAttr(t,i):t.setAttribute(i,i),i}},lt.each(lt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=he[e]||lt.find.attr;he[e]=function(t,e,n){var r,a;return n||(a=he[e],he[e]=r,r=null!=i(t,e,n)?e.toLowerCase():null,he[e]=a),r}});var de=/^(?:input|select|textarea|button)$/i,fe=/^(?:a|area)$/i;lt.fn.extend({prop:function(t,e){return St(this,lt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[lt.propFix[t]||t]})}}),lt.extend({prop:function(t,e,i){var n,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&<.isXMLDoc(t)||(e=lt.propFix[e]||e,r=lt.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=lt.find.attr(t,"tabindex");return e?parseInt(e,10):de.test(t.nodeName)||fe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),st.optSelected||(lt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),lt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){lt.propFix[this.toLowerCase()]=this});var pe=/[\t\r\n\f]/g;lt.fn.extend({addClass:function(t){var e,i,n,r,a,o,s,l=0;if(lt.isFunction(t))return this.each(function(e){lt(this).addClass(t.call(this,e,V(this)))});if("string"==typeof t&&t)for(e=t.match(Ct)||[];i=this[l++];)if(r=V(i),n=1===i.nodeType&&(" "+r+" ").replace(pe," ")){for(o=0;a=e[o++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");s=lt.trim(n),r!==s&&i.setAttribute("class",s)}return this},removeClass:function(t){var e,i,n,r,a,o,s,l=0;if(lt.isFunction(t))return this.each(function(e){lt(this).removeClass(t.call(this,e,V(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Ct)||[];i=this[l++];)if(r=V(i),n=1===i.nodeType&&(" "+r+" ").replace(pe," ")){for(o=0;a=e[o++];)for(;n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");s=lt.trim(n),r!==s&&i.setAttribute("class",s)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):lt.isFunction(t)?this.each(function(i){lt(this).toggleClass(t.call(this,i,V(this),e),e)}):this.each(function(){var e,n,r,a;if("string"===i)for(n=0,r=lt(this),a=t.match(Ct)||[];e=a[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==i||(e=V(this),e&&At.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":At.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+V(i)+" ").replace(pe," ").indexOf(e)>-1)return!0;return!1}});var me=/\r/g,ge=/[\x20\t\r\n\f]+/g;lt.fn.extend({val:function(t){var e,i,n,r=this[0];{if(arguments.length)return n=lt.isFunction(t),this.each(function(i){var r;1===this.nodeType&&(r=n?t.call(this,i,lt(this).val()):t,null==r?r="":"number"==typeof r?r+="":lt.isArray(r)&&(r=lt.map(r,function(t){return null==t?"":t+""})),(e=lt.valHooks[this.type]||lt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return(e=lt.valHooks[r.type]||lt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:(i=r.value,"string"==typeof i?i.replace(me,""):null==i?"":i)}}}),lt.extend({valHooks:{option:{get:function(t){var e=lt.find.attr(t,"value");return null!=e?e:lt.trim(lt.text(t)).replace(ge," ")}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,a="select-one"===t.type||r<0,o=a?null:[],s=a?r+1:n.length,l=r<0?s:a?r:0;l-1)&&(i=!0);return i||(t.selectedIndex=-1),a}}}}),lt.each(["radio","checkbox"],function(){lt.valHooks[this]={set:function(t,e){if(lt.isArray(e))return t.checked=lt.inArray(lt(t).val(),e)>-1}},st.checkOn||(lt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var ve=/^(?:focusinfocus|focusoutblur)$/;lt.extend(lt.event,{trigger:function(t,e,n,r){var a,o,s,l,u,c,h,d=[n||Z],f=ot.call(t,"type")?t.type:t,p=ot.call(t,"namespace")?t.namespace.split("."):[];if(o=s=n=n||Z,3!==n.nodeType&&8!==n.nodeType&&!ve.test(f+lt.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),u=f.indexOf(":")<0&&"on"+f,t=t[lt.expando]?t:new lt.Event(f,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:lt.makeArray(e,[t]),h=lt.event.special[f]||{},r||!h.trigger||!1!==h.trigger.apply(n,e))){if(!r&&!h.noBubble&&!lt.isWindow(n)){for(l=h.delegateType||f,ve.test(l+f)||(o=o.parentNode);o;o=o.parentNode)d.push(o),s=o;s===(n.ownerDocument||Z)&&d.push(s.defaultView||s.parentWindow||i)}for(a=0;(o=d[a++])&&!t.isPropagationStopped();)t.type=a>1?l:h.bindType||f,c=(At.get(o,"events")||{})[t.type]&&At.get(o,"handle"),c&&c.apply(o,e),(c=u&&o[u])&&c.apply&&Tt(o)&&(t.result=c.apply(o,e),!1===t.result&&t.preventDefault());return t.type=f,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(d.pop(),e)||!Tt(n)||u&<.isFunction(n[f])&&!lt.isWindow(n)&&(s=n[u],s&&(n[u]=null),lt.event.triggered=f,n[f](),lt.event.triggered=void 0,s&&(n[u]=s)),t.result}},simulate:function(t,e,i){var n=lt.extend(new lt.Event,i,{type:t,isSimulated:!0});lt.event.trigger(n,null,e)}}),lt.fn.extend({trigger:function(t,e){return this.each(function(){lt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return lt.event.trigger(t,e,i,!0)}}),lt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){lt.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),lt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),st.focusin="onfocusin"in i,st.focusin||lt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){lt.event.simulate(e,t.target,lt.event.fix(t))};lt.event.special[e]={setup:function(){var n=this.ownerDocument||this,r=At.access(n,e);r||n.addEventListener(t,i,!0),At.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=At.access(n,e)-1;r?At.access(n,e,r):(n.removeEventListener(t,i,!0),At.remove(n,e))}}});var _e=i.location,ye=lt.now(),be=/\?/;lt.parseJSON=function(t){return JSON.parse(t+"")},lt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||lt.error("Invalid XML: "+t),e};var we=/#.*$/,xe=/([?&])_=[^&]*/,Ce=/^(.*?):[ \t]*([^\r\n]*)$/gm,ke=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Se=/^(?:GET|HEAD)$/,Te=/^\/\//,Ae={},Me={},Ee="*/".concat("*"),Oe=Z.createElement("a");Oe.href=_e.href,lt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e.href,type:"GET",isLocal:ke.test(_e.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ee,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":lt.parseJSON,"text xml":lt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?G(G(t,lt.ajaxSettings),e):G(lt.ajaxSettings,t)},ajaxPrefilter:U(Ae),ajaxTransport:U(Me),ajax:function(t,e){function n(t,e,n,s){var u,h,_,y,w,C=e;2!==b&&(b=2,l&&i.clearTimeout(l),r=void 0,o=s||"",x.readyState=t>0?4:0,u=t>=200&&t<300||304===t,n&&(y=X(d,x,n)),y=Y(d,y,x,u),u?(d.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(lt.lastModified[a]=w),(w=x.getResponseHeader("etag"))&&(lt.etag[a]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=y.state,h=y.data,_=y.error,u=!_)):(_=C,!t&&C||(C="error",t<0&&(t=0))),x.status=t,x.statusText=(e||C)+"",u?m.resolveWith(f,[h,C,x]):m.rejectWith(f,[x,C,_]),x.statusCode(v),v=void 0,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[x,d,u?h:_]),g.fireWith(f,[x,C]),c&&(p.trigger("ajaxComplete",[x,d]),--lt.active||lt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,a,o,s,l,u,c,h,d=lt.ajaxSetup({},e),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?lt(f):lt.event,m=lt.Deferred(),g=lt.Callbacks("once memory"),v=d.statusCode||{},_={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!s)for(s={};e=Ce.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return b||(t=y[i]=y[i]||t,_[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(b<2)for(e in t)v[e]=[v[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return r&&r.abort(e),n(0,e),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,d.url=((t||d.url||_e.href)+"").replace(we,"").replace(Te,_e.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=lt.trim(d.dataType||"*").toLowerCase().match(Ct)||[""],null==d.crossDomain){u=Z.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Oe.protocol+"//"+Oe.host!=u.protocol+"//"+u.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=lt.param(d.data,d.traditional)),W(Ae,d,e,x),2===b)return x;c=lt.event&&d.global,c&&0==lt.active++&<.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Se.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(be.test(a)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=xe.test(a)?a.replace(xe,"$1_="+ye++):a+(be.test(a)?"&":"?")+"_="+ye++)),d.ifModified&&(lt.lastModified[a]&&x.setRequestHeader("If-Modified-Since",lt.lastModified[a]),lt.etag[a]&&x.setRequestHeader("If-None-Match",lt.etag[a])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ee+"; q=0.01":""):d.accepts["*"]);for(h in d.headers)x.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(f,x,d)||2===b))return x.abort();w="abort";for(h in{success:1,error:1,complete:1})x[h](d[h]);if(r=W(Me,d,e,x)){if(x.readyState=1,c&&p.trigger("ajaxSend",[x,d]),2===b)return x;d.async&&d.timeout>0&&(l=i.setTimeout(function(){x.abort("timeout")},d.timeout));try{b=1,r.send(_,n)}catch(t){if(!(b<2))throw t;n(-1,t)}}else n(-1,"No Transport");return x},getJSON:function(t,e,i){return lt.get(t,e,i,"json")},getScript:function(t,e){return lt.get(t,void 0,e,"script")}}),lt.each(["get","post"],function(t,e){lt[e]=function(t,i,n,r){return lt.isFunction(i)&&(r=r||n,n=i,i=void 0),lt.ajax(lt.extend({url:t,type:e,dataType:r,data:i,success:n},lt.isPlainObject(t)&&t))}}),lt._evalUrl=function(t){return lt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},lt.fn.extend({wrapAll:function(t){var e;return lt.isFunction(t)?this.each(function(e){lt(this).wrapAll(t.call(this,e))}):(this[0]&&(e=lt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return lt.isFunction(t)?this.each(function(e){lt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=lt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=lt.isFunction(t);return this.each(function(i){lt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){lt.nodeName(this,"body")||lt(this).replaceWith(this.childNodes)}).end()}}),lt.expr.filters.hidden=function(t){return!lt.expr.filters.visible(t)},lt.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var $e=/%20/g,De=/\[\]$/,je=/\r?\n/g,Pe=/^(?:submit|button|image|reset|file)$/i,Re=/^(?:input|select|textarea|keygen)/i;lt.param=function(t,e){var i,n=[],r=function(t,e){e=lt.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=lt.ajaxSettings&<.ajaxSettings.traditional),lt.isArray(t)||t.jquery&&!lt.isPlainObject(t))lt.each(t,function(){r(this.name,this.value)});else for(i in t)J(i,t[i],e,r);return n.join("&").replace($e,"+")},lt.fn.extend({serialize:function(){return lt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=lt.prop(this,"elements");return t?lt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!lt(this).is(":disabled")&&Re.test(this.nodeName)&&!Pe.test(t)&&(this.checked||!Rt.test(t))}).map(function(t,e){var i=lt(this).val();return null==i?null:lt.isArray(i)?lt.map(i,function(t){return{name:e.name,value:t.replace(je,"\r\n")}}):{name:e.name,value:i.replace(je,"\r\n")}}).get()}}),lt.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ie={0:200,1223:204},Ne=lt.ajaxSettings.xhr();st.cors=!!Ne&&"withCredentials"in Ne,st.ajax=Ne=!!Ne,lt.ajaxTransport(function(t){var e,n;if(st.cors||Ne&&!t.crossDomain)return{send:function(r,a){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)s.setRequestHeader(o,r[o]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Ie[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout(function(){e&&n()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),lt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return lt.globalEval(t),t}}}),lt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),lt.ajaxTransport("script",function(t){if(t.crossDomain){var e,i;return{send:function(n,r){e=lt("